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

[SYCL] Change online compiler test to build IL based on queue #1028

Conversation

steffenlarsen
Copy link

Level-zero expects a single device when creating a module. This means that the online compiler test for level-zero has an assertion on the supplied context assuring only a single device. However, on multi-GPU systems this assertion will fail, in turn causing the test to report a failure. Rather than skipping the test on multi-GPU systems, these changes makes the test use the device in the queue rather than the first device in the associated context.

Level-zero expects a single device when creating a module. This means
that the online compiler test for level-zero has an assertion on the
supplied context assuring only a single device. However, on multi-GPU
systems this assertion will fail, in turn causing the test to report a
failure. Rather than skipping the test on multi-GPU systems, these
changes makes the test use the device in the queue rather than the first
device in the associated context.

Signed-off-by: Larsen, Steffen <[email protected]>
@steffenlarsen steffenlarsen requested a review from a team as a code owner May 18, 2022 15:28
@steffenlarsen steffenlarsen merged commit f61938f into intel:intel May 23, 2022
myler pushed a commit to myler/llvm-test-suite that referenced this pull request Jun 17, 2022
…1028)

Level-zero expects a single device when creating a module. This means
that the online compiler test for level-zero has an assertion on the
supplied context assuring only a single device. However, on multi-GPU
systems this assertion will fail, in turn causing the test to report a
failure. Rather than skipping the test on multi-GPU systems, these
changes makes the test use the device in the queue rather than the first
device in the associated context.

Signed-off-by: Larsen, Steffen <[email protected]>
myler added a commit to myler/llvm-test-suite that referenced this pull request Mar 22, 2023
Auto pulldown and update tc files for xmain branch on 20220720
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
…llvm-test-suite#1028)

Level-zero expects a single device when creating a module. This means
that the online compiler test for level-zero has an assertion on the
supplied context assuring only a single device. However, on multi-GPU
systems this assertion will fail, in turn causing the test to report a
failure. Rather than skipping the test on multi-GPU systems, these
changes makes the test use the device in the queue rather than the first
device in the associated context.

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.

2 participants