CUContext
The CUContext class is a CUDA-specific implementation of the Context class. It provides functionality to manage and interact with a CUDA context, stream, and device. The class allows retrieving the current CUDA device, context, and stream.
#include <platform/TellusimContext.h>
Inheritance
- Inherits from Context
Constructors
CUContext()
Methods
Current device.
int32_t getDevice() const
CUcontext getCUContext() const
CUstream getStream() const
Cuda functions.
static void *getProcAddress(const char *name)
Check Cuda errors.
static bool error(uint32_t result)