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.
julia> using CuArrays
julia> CuArray{Int}(undef, 0)
ERROR: MethodError: Cannot `convert` an object of type Nothing to an object of type CUDAdrv.CuContext
Closest candidates are:
convert(::Type{T}, ::T) where T at essentials.jl:168
Stacktrace:
[1] CuArray{Int64,1,Nothing}(::CUDAdrv.CuPtr{Int64}, ::Tuple{Int64}, ::Nothing, ::Bool, ::Nothing) at /home/tim/Julia/pkg/CuArrays/src/array.jl:15
[2] #_#10(::Nothing, ::Type{CuArray{Int64,1,P} where P}, ::CUDAdrv.CuPtr{Int64}, ::Tuple{Int64}, ::Bool) at /home/tim/Julia/pkg/CuArrays/src/array.jl:22
[3] CuArray{Int64,1,P} where P(::CUDAdrv.CuPtr{Int64}, ::Tuple{Int64}, ::Bool) at /home/tim/Julia/pkg/CuArrays/src/array.jl:22 (repeats 2 times)
[4] CuArray{Int64,1,P} where P(::UndefInitializer, ::Tuple{Int64}) at /home/tim/Julia/pkg/CuArrays/src/array.jl:91
[5] CuArray at /home/tim/Julia/pkg/CuArrays/src/array.jl:98 [inlined]
[6] CuArray{Int64,N,P} where P where N(::UndefInitializer, ::Int64) at /home/tim/Julia/pkg/CuArrays/src/array.jl:99
[7] top-level scope at REPL[2]:1
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: