File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -239,16 +239,14 @@ cdef class SyclQueue(_SyclQueue):
239
239
raise SyclQueueCreationError(
240
240
" SYCL Context could not be created from '{}'." .format(arg)
241
241
)
242
- elif status == - 4 :
242
+ elif status == - 4 or status == - 6 :
243
243
if len_args == 2 :
244
244
arg = args
245
245
raise SyclQueueCreationError(
246
246
" SYCL Queue failed to be created from '{}'." .format(arg)
247
247
)
248
248
elif status == - 5 :
249
249
raise TypeError (" Input capsule {} contains a null pointer or could not be renamed" .format(arg))
250
- elif status == - 6 :
251
- raise " SYCL Queue failed to be created from '{}'." .format(arg)
252
250
253
251
cdef int _init_queue_from__SyclQueue(self , _SyclQueue other):
254
252
""" Copy data container _SyclQueue fields over.
You can’t perform that action at this time.
0 commit comments