Module cudarc::driver::safe

source ·
Expand description

Safe abstractions over crate::driver::result provided by CudaSlice, CudaDevice, CudaStream, and more.

Re-exports§

Structs§

Traits§

Functions§

  • Enables profile collection by the active profiling tool for the current context. If profiling is already enabled, then profiler_start() has no effect. More info in Cuda docs For RAII version see Profiler::new.
  • Disables profile collection by the active profiling tool for the current context. If profiling is already disabled, then profiler_stop() has no effect.