Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

[SYCL] Fix SYCL_DEVICE_FILTER setting #203

Merged
merged 4 commits into from
Mar 30, 2021
Merged

Conversation

bso-intel
Copy link

HOST device is not automatically available when SYCL_DEVICE_FILTER is set.
SYCL_DEVICE_FILTER has to list 'host' explicitly if a test needs it.

Signed-off-by: Byoungro So [email protected]

HOST device is not automatically available when SYCL_DEVICE_FILTER is set.
SYCL_DEVICE_FILTER has to list 'host' explicitly if a test needs it.

Signed-off-by: Byoungro So <[email protected]>
@bso-intel bso-intel requested a review from a team as a code owner March 30, 2021 01:16
@bso-intel bso-intel requested review from alexbatashev and removed request for a team March 30, 2021 01:16
Signed-off-by: Byoungro So <[email protected]>
Signed-off-by: Byoungro So <[email protected]>
@@ -45,12 +45,19 @@ int main() {
device d = cs.select_device();
std::cout << "CPU device is found: " << d.is_cpu() << std::endl;
}
// HOST device is always available regardless of SYCL_DEVICE_FILTER
/*
// TODO: enable this once SYCL_DEVICE_FILTER PR is merged.
Copy link
Author

@bso-intel bso-intel Mar 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

intel/llvm#3397 needs to be merged first to enable this test.
PR-3397 forces SYCL_DEVICE_FILTER to only provide designated devices.

Copy link

@alexbatashev alexbatashev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bso-intel
Copy link
Author

@alexbatashev Thanks.
@vladimirlaz Could you merge this so I can make progress in my SYCL RT PR?
Thanks.

@vladimirlaz vladimirlaz merged commit 6a3a82a into intel:intel Mar 30, 2021
@bso-intel bso-intel deleted the dev-filter branch March 30, 2021 17:04
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants