-
Notifications
You must be signed in to change notification settings - Fork 787
[SYCL] Remove arbitrary upper bound for attribute argument #3134
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
Conversation
Remove arbitrary range for SYCLIntelSchedulerTargetFmaxMhz and SYCLIntelLoopFuse attributes. Signed-off-by: Elizabeth Andrews <elizabeth.andrews@intel.com>
Signed-off-by: Elizabeth Andrews <elizabeth.andrews@intel.com>
Signed-off-by: Elizabeth Andrews <elizabeth.andrews@intel.com>
@AaronBallman could you take a look at this and let me know your thoughts. I renamed the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the rename is problematic due to how Intel-specific the logic of the functions is. I think we should at least keep Intel
in the name so that it's clear this is highly specific to our needs. Ultimately, I think we should be very wary of any function that needs to look at the parsed attribute kind. That's usually a code smell that the function isn't particularly generic and its exposure should be limited as much as possible.
Signed-off-by: Elizabeth Andrews <elizabeth.andrews@intel.com>
Signed-off-by: Elizabeth Andrews <elizabeth.andrews@intel.com>
Signed-off-by: Elizabeth Andrews <elizabeth.andrews@intel.com>
Signed-off-by: Elizabeth Andrews <elizabeth.andrews@intel.com>
Signed-off-by: Elizabeth Andrews <elizabeth.andrews@intel.com>
Signed-off-by: Elizabeth Andrews <elizabeth.andrews@intel.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Thanks for the reviews everyone! |
Remove arbitrary upper bounds for the following attributes -
SYCLIntelSchedulerTargetFmaxMhz
SYCLIntelLoopFuse
IntelFPGAPrivateCopies
IntelFPGABankBits
IntelFPGABankWidth
IntelFPGANumBanks
IntelFPGAMaxReplicates
Closes #2911