Skip to content

Conversation

smanna12
Copy link
Contributor

@smanna12 smanna12 commented Apr 27, 2021

This patch adds cast<> instead of dyn_cast<> + assert() and
auto instead of Attribute Name for SYCL function attributes below:

SYCLIntelNoGlobalWorkOffsetAttr
SYCLIntelMaxGlobalWorkDimAttr
SYCLIntelNumSimdWorkItemsAttr
SYCLIntelSchedulerTargetFmaxMhzAttr
IntelReqdSubGroupSizeAttr

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

No need for a dyn_cast<> followed by an assert.

This patch adds cast<> instead for attributes below:

SYCLIntelNoGlobalWorkOffsetAttr
SYCLIntelMaxGlobalWorkDimAttr
SYCLIntelNumSimdWorkItemsAttr
ReqSubGroup

Signed-off-by: Soumi Manna <[email protected]>
@smanna12 smanna12 marked this pull request as ready for review April 27, 2021 20:34
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

@bader bader merged commit 8b56cbb into intel:sycl Apr 29, 2021
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.

3 participants