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):
239239 raise SyclQueueCreationError(
240240 " SYCL Context could not be created from '{}'." .format(arg)
241241 )
242- elif status == - 4 :
242+ elif status == - 4 or status == - 6 :
243243 if len_args == 2 :
244244 arg = args
245245 raise SyclQueueCreationError(
246246 " SYCL Queue failed to be created from '{}'." .format(arg)
247247 )
248248 elif status == - 5 :
249249 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)
252250
253251 cdef int _init_queue_from__SyclQueue(self , _SyclQueue other):
254252 """ Copy data container _SyclQueue fields over.
You can’t perform that action at this time.
0 commit comments