Repository navigation
Require spirv2clc 0.2.8, and only run OpenCL.jl's own tests on Intel's CPU runtime - #605
Merged
Merged
Conversation
spirv2clc 0.2.7 translates 8- and 16-bit signed division to C that doesn't compile, as the division promotes to int. AcceleratedKernels 0.5.12 emits such divisions, which broke the poclc tests. 0.2.8 fixes that, and also translates OpSMulExtended.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #605 +/- ##
==========================================
+ Coverage 88.80% 90.11% +1.31%
==========================================
Files 18 18
Lines 1751 1751
==========================================
+ Hits 1555 1578 +23
+ Misses 196 173 -23 ☔ 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.
CI on main fails with the current dependencies, as seen on #604. Both failures come from AcceleratedKernels 0.5.12:
poclctests fail to build: spirv2clc 0.2.7 translates 16-bit signed division toas_ushort(as_short(a) / as_short(b)), where the division promotes toint. spirv2clc_jll 0.2.8 fixes that (Narrow 8- and 16-bit signed division and shift results spirv2clc#30), so require it.intel_cpujobs, Intel's kernel compiler segfaults inFixedVectorType::get(Intel CPU runtime: kernel compiler segfaults in FixedVectorType::get on vectorized kernels #558) on the kernels ofgpuarrays/reductions/orderandgpuarrays/indexing find. Bisected to AcceleratedKernels 0.5.11 → 0.5.12.These Intel crashes keep coming back: the GPUArrays tests already had five skips for #558 and #559, the crashing kernels differ between hosts, and each AcceleratedKernels or GPUArrays release can reach the same bugs from other tests. So this skips the whole GPUArrays testsuite on Intel's CPU runtime and keeps OpenCL.jl's own tests there, which still check the API and the compiler against a second OpenCL implementation. That also takes the job from 10 to about 2.5 minutes.
Locally (Julia 1.13, Ryzen 9950X): the full PoCL suite (
poclandpoclc) passes with spirv2clc_jll 0.2.8, and the Intel CPU suite passes with 17006 tests.