intel / intel/llvm

[SYCL] `ONEAPI_DEVICE_SELECTOR` does not really select anything and should be renamed to fit the semantics

Open
#7,666 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
LLVM
Stars
1.5k
Forks
854
Avg merge
3d 17h
Merged PRs (30d)
137

Description

**Is your feature request related to a problem? Please describe**

The `ONEAPI_DEVICE_SELECTOR` environment is used to filter the SYCL devices before they can be selected in the SYCL program by some device selection scheme.
It is not a device selector per se.

**Describe the solution you would like**

`ONEAPI_DEVICE_SELECTOR` is supposed to replace the deprecated `SYCL_DEVICE_FILTER`.
It looks to me that `ONEAPI_DEVICE_FILTER` should be a better name.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.