|
HIP: Heterogenous-computing Interface for Portability
|
Classes | |
| struct | dim3 |
Macros | |
| #define | hipStreamDefault 0x00 |
| Flags that can be used with hipStreamCreateWithFlags. More... | |
| #define | hipStreamNonBlocking 0x01 |
| Stream does not implicitly synchronize with null stream. | |
| #define | hipEventDefault 0x0 |
| Flags that can be used with hipEventCreateWithFlags: More... | |
| #define | hipEventBlockingSync 0x1 |
| Waiting will yield CPU. Power-friendly and usage-friendly but may increase latency. | |
| #define | hipEventDisableTiming 0x2 |
| Disable event's capability to record timing information. May improve performance. | |
| #define | hipEventInterprocess 0x4 |
| Event can support IPC. More... | |
Typedefs | |
| typedef enum hipError_t | hipError_t |
| typedef enum hipDeviceAttribute_t | hipDeviceAttribute_t |
| typedef enum hipFuncCache | hipFuncCache |
| typedef enum hipSharedMemConfig | hipSharedMemConfig |
| typedef struct dim3 | dim3 |
| #define hipEventDefault 0x0 |
Flags that can be used with hipEventCreateWithFlags:
Default flags
| #define hipEventInterprocess 0x4 |
Event can support IPC.
| #define hipStreamDefault 0x00 |
Flags that can be used with hipStreamCreateWithFlags.
Default stream creation flags. These are used with hipStreamCreate().
| typedef enum hipFuncCache hipFuncCache |
| typedef enum hipSharedMemConfig hipSharedMemConfig |
| enum hipDeviceAttribute_t |
| enum hipError_t |
| Enumerator | |
|---|---|
| hipSuccess |
Successful completion. |
| hipErrorMemoryAllocation |
Memory allocation error. |
| hipErrorMemoryFree |
Memory free error. |
| hipErrorUnknownSymbol |
Unknown symbol. |
| hipErrorOutOfResources |
Out of resources error. |
| hipErrorInvalidValue |
One or more of the parameters passed to the API call is NULL or not in an acceptable range. |
| hipErrorInvalidResourceHandle |
Resource handle (hipEvent_t or hipStream_t) invalid. |
| hipErrorInvalidDevice |
DeviceID must be in range 0...#compute-devices. |
| hipErrorNoDevice |
Call to hipGetDeviceCount returned 0 devices. |
| hipErrorNotReady |
Indicates that asynchronous operations enqueued earlier are not ready. This is not actually an error, but is used to distinguish from hipSuccess (which indicates completion). APIs that return this error include hipEventQuery and hipStreamQuery. |
| hipErrorUnknown |
Unknown error. |
| hipErrorTbd |
Marker that more error codes are needed. |
| enum hipFuncCache |
| enum hipMemcpyKind |
| enum hipSharedMemConfig |
1.8.6