-
Notifications
You must be signed in to change notification settings - Fork 769
[SYCL] Add "ext_oneapi_offload" backend enum value #18683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This adds `offload` as a backend to the sycl runtime. This means it is accepted as a value for `ONEAPI_DEVICE_SELECTOR` and friends, and prevents an offload device reporting itself as such causing an exception to be thrown. Note that the UR offload adapter is still not built as part of the build. The only way to use this is with a standalone build of unified-runtime with libur_adapter_offload enabled and in the `LD_LIBRARY_PATH`.
@intel/llvm-reviewers-runtime @callumfare @kbenzie Now this is green, can I get it looked at? Basically, as part of offload work we want to be able to do |
@intel/llvm-gatekeepers Please merge. |
This adds
offload
as a backend to the sycl runtime. This means it isaccepted as a value for
ONEAPI_DEVICE_SELECTOR
and friends, andprevents an offload device reporting itself as such causing an exception
to be thrown.
Note that the UR offload adapter is still not built as part of the
build. The only way to use this is with a standalone build of
unified-runtime with libur_adapter_offload enabled and in the
LD_LIBRARY_PATH
.