Skip to content

Commit 732331e

Browse files
Merge branch 'master' of github.com:KernelTuner/kernel_tuner
2 parents d8289fc + b4b5b33 commit 732331e

File tree

3 files changed

+76
-74
lines changed

3 files changed

+76
-74
lines changed

kernel_tuner/backends/hip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
try:
1313
from pyhip import hip, hiprtc
14-
except ImportError:
14+
except (ImportError, RuntimeError):
1515
hip = None
1616
hiprtc = None
1717

kernel_tuner/observers/hip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
try:
66
from pyhip import hip, hiprtc
7-
except ImportError:
7+
except (ImportError, RuntimeError):
88
hip = None
99
hiprtc = None
1010

0 commit comments

Comments
 (0)