Skip to content
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

[SYCL][COMPAT] Adding 2-byte and 4-bytes memset operations to headers #13409

Merged
merged 3 commits into from
Apr 16, 2024

Conversation

Alcpz
Copy link
Contributor

@Alcpz Alcpz commented Apr 15, 2024

This PR replaces #11340

This PR extends the memory header to include 2 byte and 4 byte memsets.

  • memset remains unchanged.
    • 2D / 3D memsets are templated and wrap sycl::fill. Functionality remains unchanged as it is exposed through detail::memset<unsigned char>, equivalent to what we had before.
  • memset_d16 and memset_d32 calls are added wrapped around sycl::fill using 2-byte and 4-byte datatypes

Added tests for memset_d16 and memset_d32.

@Alcpz
Copy link
Contributor Author

Alcpz commented Apr 16, 2024

@intel/llvm-gatekeepers This is ready for merging Thanks!

CUDA backend failure unrelated. Issue already reported.

@sommerlukas sommerlukas merged commit a5a0e12 into intel:sycl Apr 16, 2024
13 checks passed
@Alcpz Alcpz deleted the Alcpz/memory-update-2 branch June 3, 2024 12:20
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