File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,10 @@ def test_execution_status():
112
112
113
113
114
114
def test_execution_status_nondefault_event ():
115
- event = produce_event ()
115
+ try :
116
+ event = produce_event ()
117
+ except dpctl .SyclQueueCreationError :
118
+ pytest .skip ("OpenCL CPU queue could not be created" )
116
119
try :
117
120
event_status = event .execution_status
118
121
except ValueError :
@@ -127,7 +130,10 @@ def test_backend():
127
130
dpctl .SyclEvent ().backend
128
131
except ValueError :
129
132
pytest .fail ("Failed to get backend from event" )
130
- event = produce_event ()
133
+ try :
134
+ event = produce_event ()
135
+ except dpctl .SyclQueueCreationError :
136
+ pytest .skip ("OpenCL CPU queue could not be created" )
131
137
try :
132
138
event .backend
133
139
except ValueError :
You can’t perform that action at this time.
0 commit comments