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

Update the kernel_queue_specific::max_num_work_group query #16051

Open
wants to merge 13 commits into
base: sycl
Choose a base branch
from

Conversation

0x12CC
Copy link
Contributor

@0x12CC 0x12CC commented Nov 12, 2024

Update calls to urKernelSuggestMaxCooperativeGroupCountExp to match the changes in oneapi-src/unified-runtime#2316. This PR also implements the range<1> and range<2> overloads of the ext_oneapi_get_info API from sycl_ext_oneapi_launch_queries.

Signed-off-by: Michael Aziz <[email protected]>
Signed-off-by: Michael Aziz <[email protected]>
Signed-off-by: Michael Aziz <[email protected]>
Signed-off-by: Michael Aziz <[email protected]>
@0x12CC
Copy link
Contributor Author

0x12CC commented Nov 27, 2024

@intel/llvm-reviewers-runtime, could you please review this PR? It's done but I have it marked as draft so that the changes to the UR CMake files don't get merged. I'll revert the change in FetchUnifiedRuntime.cmake and update the UR tag once oneapi-src/unified-runtime#2316 is merged.

@@ -3941,9 +3941,9 @@ _ZNK4sycl3_V16kernel16get_backend_infoINS0_4info6device15backend_versionEEENS0_6
_ZNK4sycl3_V16kernel16get_backend_infoINS0_4info6device7versionEEENS0_6detail20is_backend_info_descIT_E11return_typeEv
_ZNK4sycl3_V16kernel16get_backend_infoINS0_4info8platform7versionEEENS0_6detail20is_backend_info_descIT_E11return_typeEv
_ZNK4sycl3_V16kernel17get_kernel_bundleEv
_ZNK4sycl3_V16kernel19ext_oneapi_get_infoINS0_3ext6oneapi12experimental4info21kernel_queue_specific19max_num_work_groupsEEENS0_6detail34is_kernel_queue_specific_info_descIT_E11return_typeENS0_5queueERKNS0_5rangeILi1EEEm
Copy link
Contributor

@uditagarwal97 uditagarwal97 Nov 27, 2024

Choose a reason for hiding this comment

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

Are the changes in this PR ABI breaking? If so, we would have to put them under the preview-breaking-flag.

Copy link
Contributor

Choose a reason for hiding this comment

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

Additions are NOT breaking changes.

Copy link
Contributor

Choose a reason for hiding this comment

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

Additions are NOT breaking changes.

There are removals as well below this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The removed symbols are related to the old root group query. This query is not part of our extension documentation and never worked. I understood it was okay to remove this old query now since the root group extension is labelled experimental.

@0x12CC
Copy link
Contributor Author

0x12CC commented Nov 28, 2024

@uditagarwal97, thanks for the review. Could you please approve this PR or request any changes you need me to make? We won't be able to merge oneapi-src/unified-runtime#2316 until this PR is approved.

@0x12CC 0x12CC marked this pull request as ready for review November 28, 2024 15:10
@0x12CC 0x12CC requested review from a team as code owners November 28, 2024 15:10
@0x12CC 0x12CC requested a review from againull November 28, 2024 15:10
Copy link
Contributor

@uditagarwal97 uditagarwal97 left a comment

Choose a reason for hiding this comment

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

LGTM.

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