Skip to main content

Module device_runtime

Module device_runtime 

Source

Structs§

GpuRuntime

Enums§

GpuAbsence
A genuine reason CUDA cannot exist on this host. These states are distinct from GpuError: absence is an expected hardware/platform fact under GpuPolicy::Auto, whereas an error means a CUDA installation or device that was present failed to initialize correctly.
GpuAvailability
Lossless result of the process-wide CUDA probe.
GpuAvailabilityRef
Borrowed lossless availability view returned from the one-time cache.

Functions§

cuda_context_for