Skip to content

Add pocl upstream as a CI #298

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

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft

Add pocl upstream as a CI #298

wants to merge 7 commits into from

Conversation

vchuravy
Copy link
Member

No description provided.

Copy link

codecov bot commented Mar 31, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.77%. Comparing base (8472a71) to head (153ca45).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #298      +/-   ##
==========================================
+ Coverage   72.96%   73.77%   +0.81%     
==========================================
  Files          12       12              
  Lines         614      614              
==========================================
+ Hits          448      453       +5     
+ Misses        166      161       -5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@maleadt maleadt mentioned this pull request Apr 1, 2025
@maleadt
Copy link
Member

maleadt commented Apr 15, 2025

Tried building the experimental PR here, as well as switching to static linking against LLVM 20, however:

In file included from /home/runner/.julia/artifacts/0c8a7d47e3327c7247a3a4c60fb6df027918c6f9/include/LLVMSPIRVLib/LLVMSPIRVLib.h:44,
                 from /home/runner/work/OpenCL.jl/OpenCL.jl/pocl/lib/CL/pocl_llvm_spirv.cc:67:
/home/runner/.julia/artifacts/0c8a7d47e3327c7247a3a4c60fb6df027918c6f9/include/LLVMSPIRVLib/LLVMSPIRVOpts.h:42:10: fatal error: llvm/ADT/Optional.h: No such file or directory
   42 | #include <llvm/ADT/Optional.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.

... so I guess mixing LLVM 20 with LLVM-SPIRV translator 16 does not work, and we'll have to link that one statically as well.

@maleadt maleadt marked this pull request as draft April 15, 2025 16:24
@maleadt
Copy link
Member

maleadt commented Apr 15, 2025

Yay, just a single segfault. Probably because of having switched to LLVM 20, which is still kinda experimental with PoCL.

@maleadt
Copy link
Member

maleadt commented Apr 15, 2025

Huh, the same segfault. Guess I'll have to reduce that.

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