Skip to content

Commit 906af00

Browse files
committed
Fix wrong type name.
1 parent e6f736f commit 906af00

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/hws/gpu_amd/utility.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ namespace hws::detail {
4747

4848
#define HWS_HIP_ERROR_CHECK(hip_func) \
4949
{ \
50-
const hiperror_t errc = hip_func; \
50+
const hipError_t errc = hip_func; \
5151
if (errc != hipSuccess) { \
5252
throw std::runtime_error{ fmt::format("Error in HIP function call \"{}\": {}", #hip_func, hipGetErrorString(errc)) }; \
5353
} \

0 commit comments

Comments
 (0)