Skip to content

Conversation

smanna12
Copy link
Contributor

@smanna12 smanna12 commented Feb 9, 2022

The original implementation of this attribute in
#3438, did not support
the [[intel::loop_count()]] attribute spelling. This patch
adds support for that spelling.

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

The original implementation of this attribute in
intel#3438, did not support
the [[intel::loop_count()]] attribute spelling. This patch
adds support for that spelling.

Signed-off-by: Soumi Manna <[email protected]>
Signed-off-by: Soumi Manna <[email protected]>
@smanna12
Copy link
Contributor Author

smanna12 commented Feb 9, 2022

NOTE: I noticed this missing attribute spelling while working on unifying downstream source codes with pragma support.

Signed-off-by: Soumi Manna <[email protected]>
@smanna12 smanna12 requested a review from zahiraam February 9, 2022 15:19
@smanna12 smanna12 marked this pull request as ready for review February 9, 2022 15:19
@smanna12 smanna12 requested a review from a team as a code owner February 9, 2022 15:19
@elizabethandrews
Copy link
Contributor

NOTE: I noticed this missing attribute spelling while working on unifying downstream source codes with pragma support

Please verify this spelling and functionality is required for SYCL attribute before merging this. If SYCL backends don't know how to consume this, I am not sure if this required. @premanandrao @zahiraam please take a look

Signed-off-by: Soumi Manna <[email protected]>
Signed-off-by: Soumi Manna <[email protected]>
@smanna12
Copy link
Contributor Author

smanna12 commented Feb 9, 2022

NOTE: I noticed this missing attribute spelling while working on unifying downstream source codes with pragma support

Please verify this spelling and functionality is required for SYCL attribute before merging this. If SYCL backends don't know how to consume this, I am not sure if this required. @premanandrao @zahiraam please take a look

Tagging @mendell27 / @MrSidims for this question. Should we add this spelling with loop_count attribute?

@premanandrao
Copy link
Contributor

NOTE: I noticed this missing attribute spelling while working on unifying downstream source codes with pragma support

Please verify this spelling and functionality is required for SYCL attribute before merging this. If SYCL backends don't know how to consume this, I am not sure if this required. @premanandrao @zahiraam please take a look

This is implementing
https://www.intel.com/content/www/us/en/develop/documentation/oneapi-dpcpp-cpp-compiler-dev-guide-and-reference/top/compiler-reference/pragmas/intel-specific-pragma-reference/loop-count.html
is it not, @smanna12?

@elizabethandrews, is this what you wanted verified?

@elizabethandrews
Copy link
Contributor

NOTE: I noticed this missing attribute spelling while working on unifying downstream source codes with pragma support

Please verify this spelling and functionality is required for SYCL attribute before merging this. If SYCL backends don't know how to consume this, I am not sure if this required. @premanandrao @zahiraam please take a look

This is implementing https://www.intel.com/content/www/us/en/develop/documentation/oneapi-dpcpp-cpp-compiler-dev-guide-and-reference/top/compiler-reference/pragmas/intel-specific-pragma-reference/loop-count.html is it not, @smanna12?

@elizabethandrews, is this what you wanted verified?

I wasn't sure if the solution was to add the loop_count spelling here, or remove the equivalent downstream.

@smanna12
Copy link
Contributor Author

smanna12 commented Feb 9, 2022

NOTE: I noticed this missing attribute spelling while working on unifying downstream source codes with pragma support

Please verify this spelling and functionality is required for SYCL attribute before merging this. If SYCL backends don't know how to consume this, I am not sure if this required. @premanandrao @zahiraam please take a look

This is implementing https://www.intel.com/content/www/us/en/develop/documentation/oneapi-dpcpp-cpp-compiler-dev-guide-and-reference/top/compiler-reference/pragmas/intel-specific-pragma-reference/loop-count.html is it not, @smanna12?
@elizabethandrews, is this what you wanted verified?

I wasn't sure if the solution was to add the loop_count spelling here, or remove the equivalent downstream.

This is implementing
https://www.intel.com/content/www/us/en/develop/documentation/oneapi-dpcpp-cpp-compiler-dev-guide-and-reference/top/compiler-reference/pragmas/intel-specific-pragma-reference/loop-count.html
is it not, @smanna12?
Yes, pragma syntax support the "loop_count" spelling, so this patch adds the same spelling with loop_count attribute now.

@smanna12
Copy link
Contributor Author

smanna12 commented Feb 9, 2022

Thank you for the reviews everyone.

@bader bader merged commit c536e76 into intel:sycl Feb 10, 2022
@smanna12 smanna12 deleted the AddNewLoopCountAttrSpelling branch February 10, 2022 12:56
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.

6 participants