intel / llvm

Intel staging area for llvm.org contribution. Home for Intel LLVM-based projects.
Other
1.21k stars 724 forks source link

Plugin/interop-opencl.cpp #14661

Closed RossBrunton closed 1 month ago

RossBrunton commented 1 month ago

Looks like it's in sycl::make_context<backend::opencl>(ocl_context);, where the device handles list is empty and thus results in a segfault in urContextCreateWithNativeHandle.

omarahmed1111 commented 1 month ago

This will be fixed with this PR I think. As, the PR will change the device list to be optional.

omarahmed1111 commented 1 month ago

It has another underneath fail, that is hiding after using the mentioned PR.

RossBrunton commented 1 month ago

Fixed in a2809d68c76861523405dbc4d30892bdcd13a4e7 .