Skip to content

[SYCL][L0] Disable native 2D USM memcpy by default #8609

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

Conversation

steffenlarsen
Copy link
Contributor

Due to a bug in memcpy 2D to and from non-USM pointers in the L0 native region memcpy make L0 report support for this operations based on a new SYCL_PI_LEVEL_ZERO_USE_NATIVE_USM_MEMCPY2D which defaults to disabled. Once the bug is fixed, this new environment variable should either be removed or enabled by default.

Due to a bug in memcpy 2D to and from non-USM pointers in the L0 native
region memcpy make L0 report support for this operations based on a new
SYCL_PI_LEVEL_ZERO_USE_NATIVE_USM_MEMCPY2D which defaults to disabled.
Once the bug is fixed, this new environment variable should either be
removed or enabled by default.

Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
@steffenlarsen steffenlarsen requested review from a team as code owners March 10, 2023 10:31
@steffenlarsen
Copy link
Contributor Author

/verify with intel/llvm-test-suite#1597

@steffenlarsen steffenlarsen temporarily deployed to aws March 10, 2023 10:57 — with GitHub Actions Inactive
@steffenlarsen steffenlarsen temporarily deployed to aws March 10, 2023 11:59 — with GitHub Actions Inactive
@steffenlarsen
Copy link
Contributor Author

@intel/dpcpp-l0-pi-reviewers - Friendly ping.

Copy link
Contributor

@smaslov-intel smaslov-intel left a comment

Choose a reason for hiding this comment

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

LGTM. Please make sure to have a ticket open to re-enable this.

@steffenlarsen steffenlarsen merged commit d5e389d into intel:sycl Mar 14, 2023
steffenlarsen added a commit to steffenlarsen/llvm that referenced this pull request Jun 19, 2023
intel#8609 disabled the use of native
memcpy2d backend calls in the L0 plugin due to a bug for non-USM
pointers. This commit reenables it.

Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
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