We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8b9eb45 + 46cfb66 commit 70816dcCopy full SHA for 70816dc
kernel_tuner/backends/hip.py
@@ -40,7 +40,9 @@ def hip_check(call_result):
40
if len(result) == 1:
41
result = result[0]
42
if isinstance(err, hip.hipError_t) and err != hip.hipError_t.hipSuccess:
43
- raise RuntimeError(str(err))
+ _, error_name = hip.hipGetErrorName(err)
44
+ _, error_str = hip.hipGetErrorString(err)
45
+ raise RuntimeError(f"{error_name}: {error_str}")
46
return result
47
48
0 commit comments