Skip to content

dpctl crashes when there is no opencl device #119

Closed
@reazulhoque

Description

@reazulhoque

By importing dpctl and calling dpctl.is_in_device_context() this error can be triggered.

terminate called after throwing an instance of 'cl::sycl::runtime_error'
what(): No device of requested type available. Please check https://software.intel.com/en-us/articles/intel-oneapi-dpcpp-compiler-system-requirements-beta -1 (CL_DEVICE_NOT_FOUND)
Fatal Python error: Aborted

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions