#include <hip/hip_runtime.h>
#include <hip/hip_runtime_api.h>
#include <hip/hiprtc.h>
Go to the source code of this file.
◆ proteusHipErrCheck
#define proteusHipErrCheck |
( |
|
CALL | ) |
|
Value: { \
hipError_t err = CALL; \
if (err != hipSuccess) { \
printf("ERROR @ %s:%d -> %s\n", __FILE__, __LINE__, \
hipGetErrorString(err)); \
abort(); \
} \
}
◆ proteusHiprtcErrCheck
#define proteusHiprtcErrCheck |
( |
|
CALL | ) |
|
Value: { \
hiprtcResult err = CALL; \
if (err != HIPRTC_SUCCESS) { \
printf("ERROR @ %s:%d -> %s\n", __FILE__, __LINE__, \
hiprtcGetErrorString(err)); \
abort(); \
} \
}