|
| const char * | hipApiName (uint32_t id) |
| | Returns HIP API name by ID.
|
| |
| const char * | hipKernelNameRef (const hipFunction_t f) |
| | Returns kernel name reference by function name.
|
| |
| const char * | hipKernelNameRefByPtr (const void *hostFunction, hipStream_t stream) |
| | Retrives kernel for a given host pointer, unless stated otherwise.
|
| |
| int | hipGetStreamDeviceId (hipStream_t stream) |
| | Returns device ID on the stream.
|
| |
This section describes the callback/Activity of HIP runtime API.
◆ hipApiName()
| const char * hipApiName |
( |
uint32_t |
id | ) |
|
Returns HIP API name by ID.
- Parameters
-
- Returns
- hipSuccess, hipErrorInvalidValue
◆ hipGetStreamDeviceId()
| int hipGetStreamDeviceId |
( |
hipStream_t |
stream | ) |
|
Returns device ID on the stream.
- Parameters
-
| [in] | stream | stream of device executed on. |
- Returns
- hipSuccess, hipErrorInvalidValue
◆ hipKernelNameRef()
| const char * hipKernelNameRef |
( |
const hipFunction_t |
f | ) |
|
Returns kernel name reference by function name.
- Parameters
-
- Returns
- hipSuccess, hipErrorInvalidValue
◆ hipKernelNameRefByPtr()
| const char * hipKernelNameRefByPtr |
( |
const void * |
hostFunction, |
|
|
hipStream_t |
stream |
|
) |
| |
Retrives kernel for a given host pointer, unless stated otherwise.
- Parameters
-
| [in] | hostFunction | Pointer of host function. |
| [in] | stream | stream the kernel is executed on. |
- Returns
- hipSuccess, hipErrorInvalidValue