Skip to content

dpctl crashes when there is no opencl device #119

Closed

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

Activity

  1. added
    bug
    on Oct 8, 2020
  2. diptorupd commented on Oct 8, 2020

    @diptorupd
    Contributor

    Fixed in #116

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions