-
Notifications
You must be signed in to change notification settings - Fork 113
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
Add mechanism to specify named win32 NT handles #1177
Conversation
Currently, cl_khr_external_semaphore and cl_khr_external_memory define properties to specify external win32 NT handle via pointer. Win32 NT handles can also be specified via named strings. Add properties to specify external Win32 NT handles via named strings too. Fixes #943
<enum value="0x2068" name="CL_SEMAPHORE_HANDLE_OPAQUE_WIN32_NAME_KHR"/> | ||
<enum value="0x2069" name="CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_WIN32_NAME_KHR"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these should also be added to the <extension name="cl_khr_external_memory_win32"
block below, to associate them with this extension.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more comment, sorry: I think this needs to bump the extension version also, probably to v1.1?
Address review comments. Fixes #943
Reviewed in the June 18th memory TSG. The updated text looks good. |
Bump up spec versions for cl_khr_external_memory_win32 from 1.0.0 to 1.1.0 and cl_khr_external_semaphore_win32 from 0.9.0 to 0.9.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My changes have been addressed - thanks!
Note, I did fix one small typo, and added CL_SEMAPHORE_HANDLE_OPAQUE_WIN32_NAME_KHR
to the list of new enums for cl_khr_external_semaphore_win32
.
Fix typo during conflict resolution opencl_runtime_layer.asciidoc.
Merging as discussed in the September 3rd teleconference. |
Currently, cl_khr_external_semaphore and cl_khr_external_memory define properties to specify external win32 NT handle via pointer. Win32 NT handles can also be specified via named strings.
Add properties to specify external Win32 NT handles via named strings too.
Fixes #943