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

Fix bugs in SYCL2020 USM section #485

Merged

Conversation

mkinsner
Copy link

  1. The templated aligned_alloc_host had the wrong return type, not matching the other templated signatures and clear intent of the API
  2. Zero size malloc behavior was only specified for device allocations, when it needs to be specified for host and shared mallocs as well
  3. Fix incorrect word use

@gmlueck
Copy link
Contributor

gmlueck commented Nov 9, 2023

I checked the CTS, and I didn't see any assumption that the return type of aligned_alloc_host is void *. Therefore, I think this spec fix does not need any corresponding change to the CTS.

@gmlueck gmlueck merged commit e8d6bb6 into KhronosGroup:SYCL-2020/master Nov 9, 2023
1 check passed
keryell pushed a commit that referenced this pull request Sep 10, 2024
gmlueck added a commit that referenced this pull request Nov 7, 2024
Fix bugs in SYCL2020 USM section

(cherry picked from commit e8d6bb6)
gmlueck added a commit that referenced this pull request Nov 7, 2024
Fix bugs in SYCL2020 USM section

(cherry picked from commit e8d6bb6)
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.

4 participants