Module context

Module context 

Source
Expand description

Cuda context for managing device execution.

Structs§

Context
Cuda Context.
ContextHandler
Handler of Cuda context that was pushed as current. On Drop will pop context from current.
CuDevice
Cuda representation of the device.

Functions§

get_context
Get Cuda context on device.
init_cuda
Initialize Cuda runtime. Should be called before any Cuda function, perfectly — on the start of the application.