Uses of Class
org.anchoranalysis.inference.concurrency.ConcurrencyPlan
Packages that use ConcurrencyPlan
Package
Description
Specifying how many CPUs and GPUs can be allocated for some purpose.
-
Uses of ConcurrencyPlan in org.anchoranalysis.inference.concurrency
Methods in org.anchoranalysis.inference.concurrency that return ConcurrencyPlanModifier and TypeMethodDescriptionConcurrencyPlan.disableGPUs()Derive aConcurrencyPlanthat preserves the number of CPUs but disables all GPUs.static ConcurrencyPlanConcurrencyPlan.multipleProcessors(int maxNumberCPUs, int maxNumberGPUs) Creates a plan for a multiple CPU-processors.static ConcurrencyPlanConcurrencyPlan.noCPUProcessor()Creates a plan for no CPU processors with the default number of GPUs.static ConcurrencyPlanConcurrencyPlan.singleCPUProcessor()Creates a plan for a single-CPU processor with the default number of GPUs.static ConcurrencyPlanConcurrencyPlan.singleCPUProcessor(int maxNumberGPUs) Creates a plan for a single-CPU processor - with a maximum number of GPUs.Constructors in org.anchoranalysis.inference.concurrency with parameters of type ConcurrencyPlanModifierConstructorDescriptionConcurrentModelPool(ConcurrencyPlan plan, CreateModelForPool<T> createModel, Logger logger) Creates with a particular plan and function to create models.