Skip to content

[SYCL][E2E] Switch Reduction/* tests to use <sycl/detail/core.hpp> #13126

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

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

aelovikov-intel
Copy link
Contributor

No description provided.

device d(default_selector_v);
context ctx{d};
queue q{ctx, d};
queue q;
Copy link
Contributor

Choose a reason for hiding this comment

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

has this been tested? I've seen this device..context..queue pattern before and it is used because on PVC with the new FLAT mode, the default selector will select all the L0 GPUs on the platform, which is two. So the queue gets created with a context that has two devices. Then, this sometimes leads to problems. The code you are replacing guarantees a context of one device.

I believe some of those problems have since been addressed, but not all. So we need to make sure this test change works on PVC.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I've been developing the patch on PVC. Also, whenever this craziness is done on purpose, it better be properly commented.

@aelovikov-intel aelovikov-intel merged commit 93ce40a into intel:sycl Mar 25, 2024
@aelovikov-intel aelovikov-intel deleted the core-reduction branch March 25, 2024 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants