Skip to content

[SYCL][ESIMD] Support get_multi_ptr in ESIMD context #10638

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 2 commits into from
Aug 2, 2023

Conversation

turinevgeny
Copy link
Contributor

accessor::get_pointer is now deprecated in favor of get_multi_ptr.
This also fixes a number of tests that use deprecated get_pointer: accessor::get_pointer() has been changed to conform to a recent change to the SYCL specification, where it now returns multi_ptr rather than a raw pointer, where the result of get_pointer is being cast to uintptr_t, and there is no conversion operator from multi_ptr, so it's necessary to retrieve the raw pointer first. get_multi_ptr is used instead.

accessor::get_pointer is now deprecated in favor of get_multi_ptr.
This also fixes a number of tests that use deprecated get_pointer:
accessor::get_pointer() has been changed to conform to a recent change
to the SYCL specification, where it now returns multi_ptr rather
than a raw pointer, where the result of get_pointer is being cast to uintptr_t,
and there is no conversion operator from multi_ptr, so it's necessary to
retrieve the raw pointer first.
@turinevgeny turinevgeny requested a review from a team as a code owner August 1, 2023 02:05
@turinevgeny
Copy link
Contributor Author

@turinevgeny turinevgeny temporarily deployed to aws August 1, 2023 02:29 — with GitHub Actions Inactive
@turinevgeny turinevgeny temporarily deployed to aws August 1, 2023 03:08 — with GitHub Actions Inactive
@turinevgeny turinevgeny temporarily deployed to aws August 2, 2023 02:10 — with GitHub Actions Inactive
@turinevgeny turinevgeny temporarily deployed to aws August 2, 2023 03:22 — with GitHub Actions Inactive
@v-klochkov
Copy link
Contributor

Timeout on esimd_emu/dpas_int.cpp is unrelated to this PR.

@v-klochkov v-klochkov merged commit 2f0f381 into intel:sycl Aug 2, 2023
@turinevgeny turinevgeny deleted the SupportGetMultiPtrESIMD branch August 2, 2023 15:58
mdtoguchi pushed a commit to mdtoguchi/llvm that referenced this pull request Oct 18, 2023
accessor::get_pointer() is now deprecated in favor of get_multi_ptr.
This also fixes a number of tests that use deprecated get_pointer:
accessor::get_pointer() has been changed to conform to a recent change
to the SYCL specification, where it now returns multi_ptr rather than a
raw pointer, where the result of get_pointer is being cast to uintptr_t,
and there is no conversion operator from multi_ptr, so it's necessary to
retrieve the raw pointer first. get_multi_ptr is used instead.
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