Callback Activity APIs#
Collaboration diagram for Callback Activity APIs:
Functions | |
hipError_t | hipRegisterApiCallback (uint32_t id, void *fun, void *arg) |
hipError_t | hipRemoveApiCallback (uint32_t id) |
hipError_t | hipRegisterActivityCallback (uint32_t id, void *fun, void *arg) |
hipError_t | hipRemoveActivityCallback (uint32_t id) |
const char * | hipApiName (uint32_t id) |
const char * | hipKernelNameRef (const hipFunction_t f) |
const char * | hipKernelNameRefByPtr (const void *hostFunction, hipStream_t stream) |
int | hipGetStreamDeviceId (hipStream_t stream) |
Detailed Description
This section describes the callback/Activity of HIP runtime API.
Function Documentation
◆ hipApiName()
const char* hipApiName | ( | uint32_t | id | ) |
◆ hipGetStreamDeviceId()
int hipGetStreamDeviceId | ( | hipStream_t | stream | ) |
◆ hipKernelNameRef()
const char* hipKernelNameRef | ( | const hipFunction_t | f | ) |
◆ hipKernelNameRefByPtr()
const char* hipKernelNameRefByPtr | ( | const void * | hostFunction, |
hipStream_t | stream | ||
) |
◆ hipRegisterActivityCallback()
hipError_t hipRegisterActivityCallback | ( | uint32_t | id, |
void * | fun, | ||
void * | arg | ||
) |
◆ hipRegisterApiCallback()
hipError_t hipRegisterApiCallback | ( | uint32_t | id, |
void * | fun, | ||
void * | arg | ||
) |
◆ hipRemoveActivityCallback()
hipError_t hipRemoveActivityCallback | ( | uint32_t | id | ) |
◆ hipRemoveApiCallback()
hipError_t hipRemoveApiCallback | ( | uint32_t | id | ) |