Skip to content
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

[OpenCL] Add extension check for sub group sizes query #1849

Merged
merged 6 commits into from
Jul 12, 2024

Conversation

ayylol
Copy link
Contributor

@ayylol ayylol commented Jul 10, 2024

cl_intel_required_subgroup_size is needed to be able to check for CL_DEVICE_SUB_GROUP_SIZES_INTEL (See here). This patch adds a check for this extension, if it is not present a default sub group sizes list is returned.

Add a check for `cl_intel_required_subgroup_size` extension. if the
device does not have it a default value for sub group sizes list is
returned.
@ayylol ayylol requested a review from a team as a code owner July 10, 2024 15:00
source/adapters/opencl/device.cpp Outdated Show resolved Hide resolved
source/adapters/opencl/device.cpp Outdated Show resolved Hide resolved
@kbenzie kbenzie added the ready to merge Added to PR's which are ready to merge label Jul 11, 2024
@kbenzie kbenzie merged commit a4a5b08 into oneapi-src:main Jul 12, 2024
53 of 54 checks passed
kbenzie added a commit to kbenzie/unified-runtime that referenced this pull request Jul 12, 2024
@kbenzie
Copy link
Contributor

kbenzie commented Jul 15, 2024

@ayylol as noted in #1863 I'm going to have to revert this due to check-sycl-e2e regressions. I've not been able to reproduce those locally but I don't have GEN12 on Linux to hand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Added to PR's which are ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants