Skip to content

Commit 72386fe

Browse files
Raise RuntimeError is default_context underlying library called faultered
1 parent d35b7b8 commit 72386fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpctl/_sycl_platform.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ cdef class SyclPlatform(_SyclPlatform):
272272
)
273273

274274
if (CRef == NULL):
275-
raise
275+
raise RuntimeError("Getting default error ran into a problem")
276276
else:
277277
return SyclContext._create(CRef)
278278

0 commit comments

Comments
 (0)