Re-enable OpenCL FiniteDiff tests once LLVM SPIR-V backend bug is fixed
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 327
- Forks
- 42
- Avg merge
- 14h 13m
- Merged PRs (30d)
- 34
Description
The gpu_kernel_de/finite_diff.jl tests are currently skipped on the OpenCL backend (PR #407) due to a bug in the LLVM SPIR-V backend (SPIRV_LLVM_Backend_jll).
The backend crashes when compiling functions that return SMatrix{1,1,Float32} (lowered to [1 x float] in LLVM IR), miscompiling the return type to i32 and aborting with LLVM ERROR: Broken function found, compilation aborted!.
Tracked upstream: https://github.com/JuliaGPU/OpenCL.jl/issues/422
Once that issue is resolved, the skip in test/runtests.jl should be removed to re-enable the FiniteDiff tests on OpenCL.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
First check whether the upstream OpenCL.jl issue #422 and the SPIR-V backend failure are resolved. Then inspect the OpenCL skip in test/runtests.jl for gpu_kernel_de/finite_diff.jl, remove it, and run the affected FiniteDiff tests to confirm they pass on OpenCL.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100