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

Update to OpenCL 3.0 #10

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open

Update to OpenCL 3.0 #10

wants to merge 23 commits into from

Conversation

lilkeet
Copy link

@lilkeet lilkeet commented Mar 9, 2025

This pr updates the wrapper to support OpenCl up to version 3.0.
In the process, it also solves issue #8.

Other notable changes:

  • A fair amount of mangling is done so that all types and procs are more Nim-like than C-like.
  • The naming conventions follow the nep1 style guide.
  • Documentation comments are added.
  • The vector types are now included, solving issue Vector types #8. A dependency on nimsimd is used for some of the SIMD types.
  • The compatibility module for mixing OpenCl with OpenGl is included.
  • Simple test examples for all versions after 1.2 are added.
  • Enums are actual enums instead of consts.
  • Bitflag enums are actually sets, so the incl and excl procs are used instead of or.

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.

1 participant