Skip to content

[SYCL][Level Zero] Fix PI_DEVICE_INFO_MAX_COMPUTE_UNITS for sub-sub-devices #7711

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
Dec 9, 2022

Conversation

aelovikov-intel
Copy link
Contributor

Previously it was returning the number of the compute units in the root device. That happened because sub-sub-device is PI level abstraction, not Level Zero one.

…evices

Previously it was returning the number of the compute units in the root
device. That happened because sub-sub-device is PI level abstraction,
not Level Zero one.
@aelovikov-intel aelovikov-intel requested a review from a team as a code owner December 8, 2022 21:25
@aelovikov-intel
Copy link
Contributor Author

I plan to add the check for this in a test being added at intel/llvm-test-suite#1434. We can either merge this as-is, and I'll update the other PR, or we can wait until both #7626 and intel/llvm-test-suite#1434 land and then I'll create a dedicated llvm-test-suite PR with the check addition.

@againull againull merged commit b9f4919 into intel:sycl Dec 9, 2022
@aelovikov-intel aelovikov-intel deleted the fix-max-compute-units branch April 7, 2023 15:55
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.

3 participants