We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b07d2d8 + 7d05d7c commit 7b368a1Copy full SHA for 7b368a1
1 file changed
dpctl/_sycl_queue.pyx
@@ -344,7 +344,10 @@ cdef class SyclQueue(_SyclQueue):
344
)
345
elif status == -3 or status == -7:
346
raise SyclQueueCreationError(
347
- "SYCL Context could not be created from '{}'.".format(arg)
+ "SYCL Context could not be created "
348
+ ("by default constructor" if len_args == 0 else
349
+ "from '{}'.".format(arg)
350
+ )
351
352
elif status == -4 or status == -6:
353
if len_args == 2:
0 commit comments