Loading...
Searching...
No Matches
Go to the documentation of this file.
17#ifndef dftefeDeviceExceptions_hiph
18#define dftefeDeviceExceptions_hiph
21#define DEVICE_API_CHECK(cmd) \
25 if (e != hipSuccess) \
27 printf("Failed: HIP error in %s at %s:%d '%s'\n", \
31 hipGetErrorString(e)); \
37#define DEVICEBLAS_API_CHECK(expr) \
39 hipblasStatus_t __hipblas_error = expr; \
40 if ((__hipblas_error) != HIPBLAS_STATUS_SUCCESS) \
43 "hipBLAS error on or before line number %d in file: %s. Error code: %d.\n", \