Repository navigation
Only support PoCL as built by pocl_jll - #623
Merged
Merged
Conversation
Upstream PoCL miscompiles kernels whose throw sites are reached from different barrier-separated regions, and declined the fix (pocl/pocl#2281), which the JLLs carry as a patch. Since #616 every kernel with bounds checks on both sides of a barrier has that shape: `any`, `all` and `count` give wrong results on a distribution's PoCL 7.2 under `--check-bounds=yes`, and the `pocl_local` job, which builds upstream PoCL HEAD, aborts in `ParallelRegion::chainAfter`. Stop testing upstream PoCL, drop the test skip for it, and document that PoCL should be used through pocl_jll.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #623 +/- ##
==========================================
- Coverage 90.78% 90.04% -0.75%
==========================================
Files 18 18
Lines 1748 1688 -60
==========================================
- Hits 1587 1520 -67
- Misses 161 168 +7 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upstream PoCL miscompiles kernels in which a block is reached from different barrier-separated regions, and declined the fix (pocl/pocl#2281). Our JLLs carry it as a patch. Since #616, every function's throw sites share one reporting block, so any kernel with bounds checks on both sides of a barrier has that shape. Under
--check-bounds=yes:pocl_localjob, which builds upstream PoCL HEAD (Debug), aborts inParallelRegion::chainAfter(poclc/gpuarrays/unions, KernelAbstractions'anykernel);any/all/countchecks onCLArray{Bool}, against 0 before Report exceptions by throw site #616 and 0 with pocl_jll.As PoCL is only supported as built by pocl_jll, this stops testing upstream PoCL, drops the KernelAbstractions
Barriersskip that was there for it, and says in the installation instructions to use PoCL through pocl_jll.