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
{{ message }}
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.
using CuArrays
p =rand(10)
p[1:0] # workscu(p)[1:0] # errors
DivideError: integer division error
div at int.jl:230 [inlined]
div at div.jl:215 [inlined]
div at div.jl:270 [inlined]
cld at div.jl:227 [inlined]
configurator at gpuarrays.jl:27 [inlined]
#cudacall#216 at execution.jl:259 [inlined]
cudacall at execution.jl:258 [inlined]
macro expansion at execution.jl:242 [inlined]
#call#204 at execution.jl:219 [inlined]
call at execution.jl:219 [inlined]
#_#223 at execution.jl:472 [inlined]
(::Core.var"#Any##kw")(::NamedTuple{(:config,),Tuple{CuArrays.var"#configurator#50"{Int64}}}, ::CUDAnative.HostKernel{GPUArrays.index_kernel,Tuple{CuArrays.CuKernelContext,CUDAnative.CuDeviceArray{Float32,1,CUDAnative.AS.Global},CUDAnative.CuDeviceArray{Float32,1,CUDAnative.AS.Global},Tuple{Int64},Tuple{UnitRange{Int64}}}}, ::CuArrays.CuKernelContext, ::CUDAnative.CuDeviceArray{Float32,1,CUDAnative.AS.Global}, ::CUDAnative.CuDeviceArray{Float32,1,CUDAnative.AS.Global}, ::Tuple{Int64}, ::Tuple{UnitRange{Int64}}) at execution.jl:472
macro expansion at execution.jl:158 [inlined]
gpu_call(::CuArrays.CuArrayBackend, ::Function, ::Tuple{CuArray{Float32,1,Nothing},CuArray{Float32,1,Nothing},Tuple{Int64},Tuple{UnitRange{Int64}}}, ::Int64; name::Nothing) at gpuarrays.jl:32
gpu_call at gpuarrays.jl:23 [inlined]
#gpu_call#1 at execution.jl:60 [inlined]
gpu_call at execution.jl:46 [inlined]
_unsafe_getindex! at indexing.jl:125 [inlined]
_unsafe_getindex at multidimensional.jl:741 [inlined]
_getindex at multidimensional.jl:727 [inlined]
getindex at abstractarray.jl:980 [inlined]
applychain(::Tuple{var"#13#14",FastDense{typeof(tanh),DiffEqFlux.var"#initial_params#75"{typeof(Flux.glorot_uniform),typeof(Flux.zeros),Int64,Int64}},FastDense{typeof(identity),DiffEqFlux.var"#initial_params#75"{typeof(Flux.glorot_uniform),typeof(Flux.zeros),Int64,Int64}}}, ::CuArray{Float32,1,Nothing}, ::CuArray{Float32,1,Nothing}) at fast_layers.jl:20
(::FastChain{Tuple{var"#13#14",FastDense{typeof(tanh),DiffEqFlux.var"#initial_params#75"{typeof(Flux.glorot_uniform),typeof(Flux.zeros),Int64,Int64}},FastDense{typeof(identity),DiffEqFlux.var"#initial_params#75"{typeof(Flux.glorot_uniform),typeof(Flux.zeros),Int64,Int64}}}})(::CuArray{Float32,1,Nothing}, ::CuArray{Float32,1,Nothing}) at fast_layers.jl:21
top-level scope at test.jl:57
The text was updated successfully, but these errors were encountered:
MWE:
The text was updated successfully, but these errors were encountered: