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

[SYCL] Remove host run and dependencies from SYCL/Basic tests #1198

Merged
merged 2 commits into from
Sep 9, 2022

Conversation

steffenlarsen
Copy link

This commit removes the host run and any assumptions and operations related to the host device from the tests in SYCL/Basic.

This commit removes the host run and any assumptions and operations
related to the host device from the tests in SYCL/Basic.

Co-authored-by: Sachkov, Alexey <[email protected]>
Signed-off-by: Larsen, Steffen <[email protected]>
againull
againull previously approved these changes Sep 8, 2022
@steffenlarsen
Copy link
Author

subdevice.cpp and subsubdevice.cpp changes were moved to #1224 as they would otherwise use the host device for part of the check, causing them to fail.

@@ -20,11 +20,6 @@ int main() {
auto DeviceList =
sycl::device::get_devices(sycl::info::device_type::accelerator);

// remove host device from the list

Choose a reason for hiding this comment

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

What a weird test: ask for accelerator devices and then remove host from them. I wonder why did the test expect host to even be in that list?

Copy link
Author

Choose a reason for hiding this comment

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

That's a very good question. It may have been restricted later and whoever did that just forgot to remove the redundant filtering. Or maybe it was a copy-paste mistake.

@steffenlarsen steffenlarsen merged commit 0ff7f3f into intel:intel Sep 9, 2022
myler added a commit to myler/llvm-test-suite that referenced this pull request Mar 22, 2023
CMPLRTST-17973: switch icx/icpx instead of dpcpp to run llvm_test_suite_sycl
myler pushed a commit to myler/llvm-test-suite that referenced this pull request Mar 22, 2023
…1198)

This commit removes the host run and any assumptions and operations
related to the host device from the tests in SYCL/Basic.

Co-authored-by: Sachkov, Alexey <[email protected]>
Signed-off-by: Larsen, Steffen <[email protected]>
myler pushed a commit to myler/llvm-test-suite that referenced this pull request Mar 22, 2023
…1198)

This commit removes the host run and any assumptions and operations
related to the host device from the tests in SYCL/Basic.

Co-authored-by: Sachkov, Alexey <[email protected]>
Signed-off-by: Larsen, Steffen <[email protected]>
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
…llvm-test-suite#1198)

This commit removes the host run and any assumptions and operations
related to the host device from the tests in SYCL/Basic.

Co-authored-by: Sachkov, Alexey <[email protected]>
Signed-off-by: Larsen, Steffen <[email protected]>
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.

4 participants