-
Notifications
You must be signed in to change notification settings - Fork 117
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
Extension Dependencies on Specific OpenCL Versions #993
Comments
Tagging in to get notifications, since this feeds into the asciidoc integration work I'm doing. |
I think the main dependency on 1.2 for cl_khr_command_buffer is clEnqueueFillBuffer, clEnqueueFillImage, clEnqueueBarrierWithWaitList which there are analogous commands for. However, the SVM fill/copy PR did add the text " Buffering of SVM commands requires OpenCL 2.0 or later." to this part of the extension. |
Ah, good point. Couple of options:
I don't have a strong opinion among these three options, but if I had to choose my first preference would be (3), then (1), then (2). Do any OpenCL 1.0 or 1.1 device vendors plan to support this extension? |
Discussed in the November 7th teleconference. My personal preference is to:
|
@bashbaug I pushed a big update to #950 which, among other things, tries to pull in as much of this to the XML as possible, then uses those tags to drive autogeneration of the extension appendices. If you do a './makeAll apihtml' you can see how it deals with promotion, some dependencies (does not handle extension version dependencies), deprecation, etc. in the updated Appendix I. There will still be a need for some unusual dependencies to be handcoded, and to document why the dependency exists per #2, but not much. #3 / #4 can be captured in the boilerplate introduction language of Appendix I. N.b. #950 now includes all the khr extension appendices, but the actual API/C language spec edits are mostly still to be integrated. |
The current OpenCL extension spec requires specific OpenCL versions for several extensions:
cl_khr_semaphore
extension and related external semaphore extensions requires OpenCL 1.2.cl_khr_command_buffer
extension requires OpenCL 1.2.cl_khr_subgroup_rotate
extension requires OpenCL 2.0.cl_khr_work_group_uniform_arithmetic
extension requires OpenCL 2.0.Questions are:
For completeness, these extensions also have a dependency on a specific OpenCL version, but they also describe the reason why the OpenCL version is required:
cl_khr_external_memory
and the related extensions require OpenCL 3.0 because they require specifying buffer and image creation properties.The text was updated successfully, but these errors were encountered: