Skip to content

[SYCL][ESIMD] Remove use of is_pointer in the API declarations #12206

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
Dec 20, 2023

Conversation

fineg74
Copy link
Contributor

@fineg74 fineg74 commented Dec 19, 2023

No description provided.

@fineg74 fineg74 requested a review from a team as a code owner December 19, 2023 05:28
Comment on lines 3213 to 3214
(is_rw_device_accessor_v<AccessorTy> ||
is_rw_local_accessor_v<AccessorTy>),
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
(is_rw_device_accessor_v<AccessorTy> ||
is_rw_local_accessor_v<AccessorTy>),
(__ESIMD_DNS::is_rw_device_accessor_v<AccessorTy> ||
__ESIMD_DNS::is_rw_local_accessor_v<AccessorTy>),

ESIMD_INLINE ESIMD_NODEBUG std::enable_if_t<
(sizeof(T) <= 4) && (N == 1 || N == 8 || N == 16 || N == 32) &&
(std::is_same_v<detail::LocalAccessorMarker, AccessorTy> ||
detail::is_accessor_with_v<AccessorTy,
Copy link
Contributor

Choose a reason for hiding this comment

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

minor comment: detail:: is redundant here. scatter_impl function is already inside detail namespace.

@v-klochkov v-klochkov merged commit 05a6880 into intel:sycl Dec 20, 2023
@fineg74 fineg74 deleted the Remove_is_pointer branch December 20, 2023 17:06
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