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

Add POCL support and CI + major package rework #210

Merged
merged 14 commits into from
Aug 9, 2024
Merged

Add POCL support and CI + major package rework #210

merged 14 commits into from
Aug 9, 2024

Conversation

maleadt
Copy link
Member

@maleadt maleadt commented Jul 31, 2024

This is a PR to add POCL support to OpenCL.jl, since I may want to use it to implement the CPU back-end of KernelAbstractions.jl. Since there are very few no real public packages depending on OpenCL.jl, I'm additionally doing a rework/modernization of the package in the hopes to revitalize it a bit, and bring it closer to the other GPU back-ends we have in Julia. Needless to say, this is going to be breaking.

Breaking changes:

  • Buffer ctor: switch length and flag arguments around (for ambiguity reasons), and make passing the length mandatory

TODO:

  • remove questionable APIs: create_some_context etc

Due to this change, we lose some type information, introducing ambiguities with the
Buffer ctors. To avoid that, we swap the flags and length field and make the former
a required argument in all cases.
Removes the Buildkite CI for now.
@maleadt maleadt changed the title Package rework Add POCL support and CI + major package rework Jul 31, 2024
.github/workflows/CI.yml Outdated Show resolved Hide resolved
.github/workflows/CI.yml Outdated Show resolved Hide resolved
.github/workflows/CI.yml Outdated Show resolved Hide resolved
@maleadt
Copy link
Member Author

maleadt commented Aug 9, 2024

Yay, works on macOS now too!

@maleadt
Copy link
Member Author

maleadt commented Aug 9, 2024

And finally CUDA CI. I think I'm going to postpone other refactors to a different PR, so let's merge this.

@maleadt maleadt marked this pull request as ready for review August 9, 2024 14:06
@maleadt maleadt merged commit 30113b6 into master Aug 9, 2024
5 checks passed
@maleadt maleadt deleted the tb/rework branch August 9, 2024 14:08
This was referenced Aug 9, 2024
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.

2 participants