Skip to content

Commit

Permalink
Merge pull request #893 from IntelPython/gh-891-better-error-msg
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-pavlyk authored Aug 28, 2022
2 parents 5b3a819 + 3f3f25a commit 8655e98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dpctl/_sycl_device.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,8 @@ cdef class SyclDevice(_SyclDevice):
ret = self._init_from_selector(DSRef)
if ret == -1:
raise SyclDeviceCreationError(
"Could not create a SyclDevice with the selector string"
"Could not create a SyclDevice with the selector string "
"'{selector_string}'".format(selector_string=arg)
)
elif isinstance(arg, _SyclDevice):
ret = self._init_from__SyclDevice(arg)
Expand Down

0 comments on commit 8655e98

Please sign in to comment.