Skip to content

Expose methods to conver from cl3 types to opencl3 types#74

Merged
kenba merged 1 commit intokenba:developfrom
AlsoSylv:create_context
Mar 5, 2026
Merged

Expose methods to conver from cl3 types to opencl3 types#74
kenba merged 1 commit intokenba:developfrom
AlsoSylv:create_context

Conversation

@AlsoSylv
Copy link
Contributor

@AlsoSylv AlsoSylv commented Mar 5, 2026

This PR provides the ability to convert from cl_context and cl_queue from cl3 to Context and Queue in opencl3.
This is can be done either with the now public new method, or the respective wrap functions that take &Device instead of cl_device_id and max_work_item_dimensions respectively

Closes #73

@kenba kenba changed the base branch from main to develop March 5, 2026 17:41
@kenba
Copy link
Owner

kenba commented Mar 5, 2026

Thank you, @AlsoSylv.
Can you please add some tests for the new functions?

@kenba kenba closed this Mar 5, 2026
@kenba kenba reopened this Mar 5, 2026
@kenba kenba merged commit b05fb68 into kenba:develop Mar 5, 2026
@AlsoSylv
Copy link
Contributor Author

AlsoSylv commented Mar 5, 2026

Sure, what kind of tests are you looking for?

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.

Provide the ability to create a context and command queue from a cl_context or cl_command_queue

2 participants