Repository navigation
Troubleshooting
Bogdan edited this page Jun 21, 2026
·
2 revisions
OpenCL rejected the generated kernel source.
What to check:
- the generated kernel probably compiled from Java successfully, but the OpenCL compiler rejected the emitted C
- look for unsupported constructs in helper bodies, structs, vectors, or backend-specific code
- narrow the kernel down to a smaller reproducer if needed
Compile-time frontend validation failed.
What to check:
- the method may be outside the currently supported Java subset
- the helper call may not be registered as supported GPU-side code
- the struct, pointer, or vector usage may violate the accepted patterns
- enable ABI debug if the failure looks layout-related
Runtime setup or argument marshalling failed.
What to check:
- make sure a real backend is installed through
GpuRuntime.setBackend(...) - enable runtime ABI diagnostics
- compare Java-side values with the layout expected by the generated launcher
On Windows, clean test can fail intermittently when Gradle or the OpenCL toolchain still holds files open.
Practical workarounds:
- avoid overlapping Gradle runs in the same workspace
- retry with
--no-daemon - if only
cleanfails, retrytestfirst to confirm the code itself is fine