cubie.batchsolving.BatchSolverConfig
Configuration utilities for the batch solver.
This module provides BatchSolverConfig
, a small container that holds
settings used when compiling and running the CUDA integration kernel.
Classes
|
Settings for configuring a batch solver kernel. |
- class cubie.batchsolving.BatchSolverConfig.BatchSolverConfig(precision: type = <class 'numpy.float32'>, algorithm: str = 'euler', duration: float = 1.0, warmup: float = 0.0, stream: int = 0, profileCUDA: bool = False)[source]
Bases:
object
Settings for configuring a batch solver kernel.
- warmup
Length of the warm-up period before outputs are stored. Defaults to
0.0
.- Type:
float, optional