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
this won't compile, while the cpu version does work:
a = [1,2,3,4,5]
a[ a .>3] .=10
Error message:
ERROR: GPU compilation of kernel broadcast_kernel(CUDA.CuKernelContext, SubArray{Int64, 1, CuDeviceVector{Int64, 1}, Tuple{Vector{Int64}}, false}, Base.Broadcast.Broadcasted{Nothing, Tuple{Base.OneTo{Int64}}, typeof(identity), Tuple{Int64}}, Int64) failed
KernelError: passing and using non-bitstype argument
Argument 3 to your kernel function is of type SubArray{Int64, 1, CuDeviceVector{Int64, 1}, Tuple{Vector{Int64}}, false}, which is not isbits:
.indices is of type Tuple{Vector{Int64}} which is not isbits.
.1 is of type Vector{Int64} which is not isbits.
this won't compile, while the cpu version does work:
Error message:
Version info:
I just fresh installed the julia 1.6 stable, and installed the CUDA.jl 2.6.2, on Windows 10 if that matters.
I read about this issue is fixed and merged into the 2.6.2 with PR.
The text was updated successfully, but these errors were encountered: