I randomly see this error popping up on the BuildKite CI:
https://buildkite.com/julialang/acceleratedkernels-dot-jl/builds/14#01932a74-e21d-408d-86d0-81bf259f6bce/241-416
It happens when creating two exclusive views into the same array, immediately one after the other:
p1 = @view dst[1:blocks]
p2 = @view dst[blocks + 1:end]
When it happens, I see the following common contexts:
- It only happened on Julia 1.10, never on 1.11, but that may just be chance.
- It only happened when creating the second view,
p2.
- It only happened in this specific kernel, even though views are used elsewhere in the codebase too.
- It only happened on the oneAPI backends; the CUDA, AMDGPU and Metal ones never showed this error.
That part of the code is sequential - on the same, main thread/task.
I was not able to reproduce it locally. Would you have any pointers on how to investigate this?