Skip to content

Add device-side exception reporting. #328

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

maleadt
Copy link
Member

@maleadt maleadt commented Jun 17, 2025

Relies on JuliaLLVM/LLVM.jl#516 to avoid errors with the emitted SPIR-V.

cc @vchuravy

Copy link

codecov bot commented Jun 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 32.28%. Comparing base (5519c83) to head (5912916).
Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master     #328       +/-   ##
===========================================
- Coverage   75.32%   32.28%   -43.04%     
===========================================
  Files          12       11        -1     
  Lines         616      573       -43     
===========================================
- Hits          464      185      -279     
- Misses        152      388      +236     

☔ 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
Copy link
Member Author

maleadt commented Jun 17, 2025

Seems to expose a bug in PoCL:

julia: /home/runner/work/OpenCL.jl/OpenCL.jl/pocl/lib/llvmopencl/WorkitemLoops.cc:284: std::pair<llvm::BasicBlock*, llvm::BasicBlock*> pocl::WorkitemLoopsImpl::createLoopAround(pocl::ParallelRegion&, llvm::BasicBlock*, llvm::BasicBlock*, bool, int, bool, llvm::Value*): Assertion `ExitBB->getTerminator()->getNumSuccessors() == 1' failed.

@maleadt
Copy link
Member Author

maleadt commented Jun 19, 2025

Filed as pocl/pocl#1958

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