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

Start the long way to KernelAbstractions 1.0 #533

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

vchuravy
Copy link
Member

@vchuravy vchuravy commented Sep 23, 2024

The kind of kernels that are expressible in KernelAbstractions are currently
limited by the CPU support having to opperate on a macro level.

With the CPU support being implemented in OpenCL.jl using POCL, we can drop
many restrictions.

Breaking changes

  • Removes CPU backend
  • Removes @uniform
  • Removes @private
  • Julia LTS bump to 1.10

TODOS

  • POCL support on Windows
  • Rework test
  • Improve documentations
  • Dynamic shared memory
  • groupDim: length(KernelAbstractions.blocks(KernelAbstractions.__iterspace(@context())))
  • Remove return limitation

Open questions

  • CPU(;static=true)
    • Interaction between POCL threads and Julia threads
  • How many macros do we really need?

Comment on lines -468 to -469
get_backend(::Array) = CPU()

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this error?

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