Skip to content

[SYCL][NFC] Remove unused instances of WGSize array from work_group_size attributes #2983

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
Jan 5, 2021

Conversation

smanna12
Copy link
Contributor

@smanna12 smanna12 commented Jan 3, 2021

Template parameter support for work_group_size attributes was added on
#2906.

Unsigned WGSize array which was used on function checkWorkGroupSizeValues()
before the support for the attributes dimension values to check correctness of
mutual usage of different work_group_size attributes, does not use anymore.

This patch removes instances of WGSize array from the WorkGroupSizeAttribute.

Signed-off-by: Soumi Manna soumi.manna@intel.com

…eAttribute

Template parameter support for work_group_size attributes was added on
intel#2906.

Unsigned WGSize array which was used on function checkWorkGroupSizeValues()
befor the support for the attributes dimension values to check correctness of
mutual usage of different work_group_size attributes: reqd_work_group_size,
max_work_group_size and max_global_work_dim, does not use anymore.

This patch removes instances of WGSize array from the WorkGroupSizeAttribute.

Signed-off-by: Soumi Manna <soumi.manna@intel.com>
@smanna12 smanna12 changed the title [SYCL][NFC] Remove unused instances of WGSize array from WorkGroupSiz… [SYCL][NFC] Remove unused instances of WGSize array from work_group_size attributes Jan 3, 2021
@smanna12 smanna12 marked this pull request as ready for review January 3, 2021 17:23
Copy link
Contributor

@elizabethandrews elizabethandrews left a comment

Choose a reason for hiding this comment

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

Thanks!

@smanna12
Copy link
Contributor Author

smanna12 commented Jan 4, 2021

Thanks @elizabethandrews for pointing this to me.

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

@pvchupin pvchupin merged commit c845516 into intel:sycl Jan 5, 2021
jsji pushed a commit that referenced this pull request Feb 25, 2025
…ttribute change (#2983)

Update after llvm/llvm-project@29441e4f5fa5 ("[IR] Convert from
nocapture to captures(none)")

Co-authored-by: Sven van Haastregt <sven.vanhaastregt@arm.com>

Original commit:
KhronosGroup/SPIRV-LLVM-Translator@290f13663fe0dfd
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.

4 participants