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