Expand description
Minimal CUDA driver API surface, loaded at runtime with dlopen so the crate builds (and its tests run) on machines with no CUDA at all — including CI and the Mac. Only the box can actually produce a timing.
Structs§
- Buffer
- A device allocation, freed when dropped.
- Cuda
- The driver entry points this crate uses, resolved at runtime.
- Device
- An initialized CUDA device with a primary context retained.
- Module
- A loaded PTX module, borrowed from the device that holds it.
Type Aliases§
- CUresult
- A CUDA driver API status code.
0isCUDA_SUCCESS; anything else is reported with the name of the call that returned it.