Skip to content

[SYCL] Remove deprecated intel::reqd_work_group_size attribute #4433

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 6 commits into from
Sep 7, 2021

Conversation

smanna12
Copy link
Contributor

@smanna12 smanna12 commented Aug 30, 2021

Commit 8ef7eac deprecated [[intel::reqd_work_group_size()]] attribute in favor of SYCL 2020 attribute [[sycl::reqd_work_group_size()]].

This patch removes that deprecated attribute spelling and updates several tests
with new attribute spelling of of ReqdWorkGroupSize attribute.

Signed-off-by: Soumi Manna [email protected]

@smanna12
Copy link
Contributor Author

smanna12 commented Aug 31, 2021

Fix for PreCommit test failure of Basic/reqd_work_group_size.cpp test has been tracked here: intel/llvm-test-suite#431

@smanna12 smanna12 marked this pull request as ready for review August 31, 2021 19:33
@smanna12 smanna12 requested a review from romanovvlad August 31, 2021 19:33
Copy link
Contributor

@premanandrao premanandrao left a comment

Choose a reason for hiding this comment

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

I think it would make sense to have at least one test that uses the removed spelling and now shows an error.

Copy link
Contributor

@AaronBallman AaronBallman left a comment

Choose a reason for hiding this comment

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

The changes LGTM as far as they go, but do we have release notes that we should update to communicate this removal more explicitly to users?

@smanna12
Copy link
Contributor Author

smanna12 commented Sep 1, 2021

The changes LGTM as far as they go

Thanks @AaronBallman for the reviews.

Do we have release notes that we should update to communicate this removal more explicitly to users?

I am not aware of this. @romanovvlad, could you please comments on this?

Copy link
Contributor

@premanandrao premanandrao left a comment

Choose a reason for hiding this comment

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

LGTM. But I too would like to know if this needs to be release-noted somehow.

Copy link
Contributor

@AaronBallman AaronBallman left a comment

Choose a reason for hiding this comment

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

LGTM

@smanna12
Copy link
Contributor Author

smanna12 commented Sep 2, 2021

Thanks @AaronBallman and @premanandrao for the reviews.

@intel/llvm-reviewers-runtime, Please review.

@romanovvlad
Copy link
Contributor

The changes LGTM as far as they go

Thanks @AaronBallman for the reviews.

Do we have release notes that we should update to communicate this removal more explicitly to users?

I am not aware of this. @romanovvlad, could you please comments on this?

We have release notes - sycl/ReleaseNotes.md . They will be updated when we are close to release.

@smanna12
Copy link
Contributor Author

smanna12 commented Sep 2, 2021

New Precommit test failure is not related to my patch:

http://icl-jenkins.sc.intel.com:8080/blue/organizations/jenkins/SYCL_CI%2Fintel%2FWin%2FTest_Suite/detail/Test_Suite/6754/pipeline

Failed Tests (1):
SYCL :: Plugin/level_zero_dynamic_batch_test.cpp

@smanna12
Copy link
Contributor Author

smanna12 commented Sep 2, 2021

The changes LGTM as far as they go

Thanks @AaronBallman for the reviews.

Do we have release notes that we should update to communicate this removal more explicitly to users?

I am not aware of this. @romanovvlad, could you please comments on this?

We have release notes - sycl/ReleaseNotes.md . They will be updated when we are close to release.

Thanks @romanovvlad for the review and the info about the release note.

@smanna12
Copy link
Contributor Author

smanna12 commented Sep 2, 2021

Buildbot/Lit_With_Cuda is failing with error below: localdisk2/sycl_ci/buildbot/worker/Lit_With_Cuda/llvm.src/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:23568:1: fatal error: error writing to /tmp/ccKj5myQ.s: No space left on device

This is unrelated to this patch.

@premanandrao
Copy link
Contributor

Buildbot/Lit_With_Cuda is failing with error below: localdisk2/sycl_ci/buildbot/worker/Lit_With_Cuda/llvm.src/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:23568:1: fatal error: error writing to /tmp/ccKj5myQ.s: No space left on device

This is unrelated to this patch.

@tfzhu is the contact for CI according to Alexey in another thread.

@smanna12
Copy link
Contributor Author

smanna12 commented Sep 6, 2021

Precommit test failure is not related to my patch. This PR is ready to merge.

http://icl-jenkins.sc.intel.com:8080/blue/organizations/jenkins/SYCL_CI%2Fintel%2FWin%2FTest_Suite/detail/Test_Suite/6754/pipeline

Failed Tests (1):
SYCL :: Plugin/level_zero_dynamic_batch_test.cpp

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.

5 participants