<a few warnings suppressed here>
ERROR: LoadError: LoadError: AssertionError: !(isactive(pctx))
Stacktrace:
[1] unsafe_reset!(::CUDAdrv.CuPrimaryContext, ::Bool) at C:\Users\amellnik\.julia\v0.6\CUDAdrv\src\context\primary.jl:104
[2] reset(::CUDAdrv.CuPrimaryContext) at .\deprecated.jl:59
[3] device_reset(::Int64) at C:\Users\amellnik\.julia\v0.6\CUDArt\src\device.jl:44
[4] macro expansion at C:\Users\amellnik\.julia\v0.6\CUDArt\test\gc.jl:22 [inlined]
[5] anonymous at .\<missing>:?
[6] include_from_node1(::String) at .\loading.jl:569
[7] include(::String) at .\sysimg.jl:14
[8] include_from_node1(::String) at .\loading.jl:569
[9] include(::String) at .\sysimg.jl:14
[10] process_options(::Base.JLOptions) at .\client.jl:305
[11] _start() at .\client.jl:371
while loading C:\Users\amellnik\.julia\v0.6\CUDArt\test\gc.jl, in expression starting on line 8
while loading C:\Users\amellnik\.julia\v0.6\CUDArt\test\runtests.jl, in expression starting on line 1
===============================[ ERROR: CUDArt ]================================
failed process: Process(`'C:\Users\amellnik\AppData\Local\Julia-0.6.0\bin\julia.exe' -Cx86-64 '-JC:\Users\amellnik\AppData\Local\Julia-0.6.0\lib\julia\sys.dll' --compile=yes --depwarn=yes --check-bounds=yes --code-coverage=none --color=yes --compilecache=yes 'C:\Users\amellnik\.julia\v0.6\CUDArt\test\runtests.jl'`, ProcessExited(1)) [1]
================================================================================
CUDArt had test errors
Stacktrace:
[1] #test#62(::Bool, ::Function, ::Array{AbstractString,1}) at .\pkg\entry.jl:757
[2] (::Base.Pkg.Entry.#kw##test)(::Array{Any,1}, ::Base.Pkg.Entry.#test, ::Array{AbstractString,1}) at .\<missing>:0
[3] (::Base.Pkg.Dir.##4#7{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}})() at .\pkg\dir.jl:36
[4] cd(::Base.Pkg.Dir.##4#7{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}}, ::String) at .\file.jl:59
[5] #cd#1(::Array{Any,1}, ::Function, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N} where N) at .\pkg\dir.jl:36
[6] (::Base.Pkg.Dir.#kw##cd)(::Array{Any,1}, ::Base.Pkg.Dir.#cd, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N} where N) at .\<missing>:0
[7] #test#3(::Bool, ::Function, ::String, ::Vararg{String,N} where N) at .\pkg\pkg.jl:276
[8] test(::String, ::Vararg{String,N} where N) at .\pkg\pkg.jl:276
[9] include_string(::String, ::String) at .\loading.jl:515
This stracktrace is a bit cryptic, but it appears to stem from the next-to-last line in this basic test:
devlist = CUDArt.devices(dev->true)
for dev in devlist
CUDArt.device(dev)
p = CUDArt.malloc(UInt8, 1)
p2 = CUDArt.malloc(UInt16, 100)
CUDArt.free(p)
CUDArt.free(p2)
a = rand(5,3)
g = CUDArt.CudaArray(a)
gp = CUDArt.CudaPitchedArray(a)
CUDArt.free(g)
CUDArt.free(gp)
# Also test finalizer calls
g = CUDArt.CudaArray(a)
g = CUDArt.CudaPitchedArray(a)
CUDArt.device_reset(dev)
end
Package builds without complaints but tests fail:
This stracktrace is a bit cryptic, but it appears to stem from the next-to-last line in this basic test: