Skip to content

[SYCL][HIP][libclc] Add group collective functions for HIP #5202

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 4 commits into from
Jan 13, 2022

Conversation

t4c1
Copy link
Contributor

@t4c1 t4c1 commented Dec 22, 2021

Adds group collective functions (reduce, scans, broadcast) for HIP.

Tested by: intel/llvm-test-suite#656

@bader bader requested a review from Pennycook December 22, 2021 13:36
@bader
Copy link
Contributor

bader commented Jan 12, 2022

@intel/llvm-reviewers-runtime, ping.

Copy link
Contributor

@s-kanaev s-kanaev left a comment

Choose a reason for hiding this comment

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

Test changes seem fine for SYCL RT.

Should there be any test changes for libclc/amdgcn-amdhsa?

@bader
Copy link
Contributor

bader commented Jan 13, 2022

Should there be any test changes for libclc/amdgcn-amdhsa?

According to the description these changes are covered by intel/llvm-test-suite#656. Are these enough or want to have libclc specific tests?
@t4c1, what is your opinion?

@t4c1
Copy link
Contributor Author

t4c1 commented Jan 13, 2022

Sorry, I missed the question. In my opinion the tests in the test suite should suffice.

@againull againull merged commit 106882c into intel:sycl Jan 13, 2022
@bader
Copy link
Contributor

bader commented Jan 13, 2022

@againull, intel/llvm-test-suite#656 must be merged at the same time, otherwise, pre-commit checks on AMD GPU will be broken.

@againull
Copy link
Contributor

@againull, intel/llvm-test-suite#656 must be merged at the same time, otherwise, pre-commit checks on AMD GPU will be broken.

Thank you, merged.

bader pushed a commit to intel/llvm-test-suite that referenced this pull request Jan 14, 2022
Broadcast has recently been implemented for HIP backend in intel/llvm#5202 and XFAIL for AMD HIP was removed in #656. However on CI machines these tests are still failing, so we need to mark them XFAIL again
@t4c1 t4c1 deleted the amd_group_collectives branch March 15, 2022 08:51
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
Broadcast has recently been implemented for HIP backend in intel#5202 and XFAIL for AMD HIP was removed in intel/llvm-test-suite#656. However on CI machines these tests are still failing, so we need to mark them XFAIL again
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.

[SYCL][HIP] lld: error: undefined hidden symbol: __spirv_GroupBroadcast(unsigned int, float, unsigned int)
5 participants