Skip to content

pass a properly aligned bogus pointer to clEnqueueSVMMemFill#2653

Merged
bashbaug merged 1 commit intoKhronosGroup:cl_khr_unified_svmfrom
bashbaug:unified-svm-fill-pointer-alignment
Apr 7, 2026
Merged

pass a properly aligned bogus pointer to clEnqueueSVMMemFill#2653
bashbaug merged 1 commit intoKhronosGroup:cl_khr_unified_svmfrom
bashbaug:unified-svm-fill-pointer-alignment

Conversation

@bashbaug
Copy link
Copy Markdown
Contributor

Even though the SVM destination pointer is bogus, it still should be properly aligned to the pattern size, otherwise the call to clEnqueueSVMMemFill could return an error due to:

CL_INVALID_VALUE if svm_ptr is not aligned to pattern_size bytes.

Note, this PR is setup to merge to the unified SVM branch, not the main branch.

@bashbaug
Copy link
Copy Markdown
Contributor Author

bashbaug commented Apr 7, 2026

Merging as discussed in the April 7th memory subgroup.

@bashbaug bashbaug merged commit af6198c into KhronosGroup:cl_khr_unified_svm Apr 7, 2026
8 checks passed
@bashbaug bashbaug deleted the unified-svm-fill-pointer-alignment branch April 7, 2026 17:05
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.

2 participants