Skip to main content

Module device

Module device 

Source
Expand description

Device and context management.

Modules§

buffer
Device memory buffers.
context
Device/context management.
mem
Memory-related helpers. Thin safe wrappers around the CUDA driver memory API.
program
Compiled kernel programs.

Structs§

CudaArgPacker
Packs kernel arguments into the void** array expected by cuLaunchKernel.
CudaDevice
An open CUDA device and its context. Destroys the context on drop.
CudaDeviceInfo
A CUDA device’s static properties, read from cudaGetDeviceProperties at CudaDevice::try_new time.
CudaLaunchConfig
A kernel launch’s grid/block/cluster dimensions (in (x, y, z) order).