Skip to main content

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

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)