ExecutionCUDA#

class nvmath.sparse.advanced.ExecutionCUDA(
device_id: int = 0,
hybrid_memory_mode_options: object = <factory>,
)[source]#

A data class for providing GPU execution options to the DirectSolver object and the wrapper function direct_solver().

device_id#

CUDA device ordinal (only used if the operand resides on the CPU). The default value is 0.

Type:

int

hybrid_memory_mode_options#

Options controlling the use of hybrid (CPU-GPU) memory as an object of type HybridMemoryModeOptions or a dict.

Type:

object