SubstructSearchConfig#
- class nvmolkit.substructure.SubstructSearchConfig(
- batchSize: int = 1024,
- workerThreads: int = -1,
- preprocessingThreads: int = -1,
- maxMatches: int = 0,
- uniquify: bool = False,
- gpuIds: list[int] | None = None,
Configuration for GPU substructure search execution.
- Parameters:
batchSize – Number of (target, query) pairs per GPU batch. Default 1024.
workerThreads – GPU runner threads per GPU. -1 for autoselect.
preprocessingThreads – CPU threads for preprocessing. -1 for autoselect.
maxMatches – Maximum matches per pair. 0 for unlimited (default).
uniquify – If True, remove duplicate matches that differ only in atom enumeration order. Default False.
gpuIds – GPU device IDs to use.
Noneor empty list uses current device only.