Skip to content

Commit 5c4ba1a

Browse files
committed
fix: fixed skipif hip
1 parent 929fe63 commit 5c4ba1a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/context.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@
5353
except Exception:
5454
cuda_present = False
5555

56+
try:
57+
from hip import hip
5658
hip_present = True
5759
except ImportError:
5860
hip_present = False

0 commit comments

Comments
 (0)