You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
The cpu version provides a baseline.
Build log
Building WebIO ──→ `C:\Users\Clinton\.julia\packages\WebIO\2mZPb\deps\build.log`
Building NNlib ──→ `C:\Users\Clinton\.julia\packages\NNlib\FAI3o\deps\build.log`
Building Libtask → `C:\Users\Clinton\.julia\packages\Libtask\GQPaW\deps\build.log`
Building CMake ──→ `C:\Users\Clinton\.julia\packages\CMake\ULbyn\deps\build.log`
Building NLopt ──→ `C:\Users\Clinton\.julia\packages\NLopt\eqN9a\deps\build.log`
Environment details (please complete this section)
Details on Julia:
Views with repeating indices cannot be realistically supported without serializing the computation and losing all benefit of the GPU.
maleadt
changed the title
Computation involving sub-arrays silently leads to incorrect values
Views with repeating indices lead to different results than Base.Array
Mar 25, 2021
Describe the bug
Views don't play well with assignments, leading to silent errors.
To Reproduce
The Minimal Working Example (MWE) for this bug:
Output:
Expected behavior
The cpu version provides a baseline.
Build log
Environment details (please complete this section)
Details on Julia:
Julia packages:
CuArrays v2.0.1 #master (https://github.com/JuliaGPU/CuArrays.jl.git)
GPUArrays v3.1.0 #master (https://github.com/JuliaGPU/GPUArrays.jl.git)
CUDAnative v3.0.4
Flux v0.10.4 #master (https://github.com/FluxML/Flux.jl.git)
CUDA: toolkit and driver version
10.2 / 441.66
Additional context
This came up in the context of FluxML/Zygote.jl#600, but I am basing the mwe on an example from Michael Abbott from Slack (https://julialang.slack.com/archives/C6G240ENA/p1587070650391500).
I think this is the reason I was having difficulties with Zygote AD on views of CuArrays as mentioned in that issue, though I don't know for sure.
The text was updated successfully, but these errors were encountered: