Skip to content

Commit b618988

Browse files
committed
Fix CUDA test
1 parent 76c3a0c commit b618988

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/cuda/tensors.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ for V in spacelist
5656
@test typeof(t) == TensorMap{Float64, spacetype(t), 5, 0, CuVector{Float64, CUDA.DeviceMemory}}
5757
end
5858
for f in (Base.ones, Base.zeros)
59-
t = @constinferred f(CuVector{Float64}, W)
59+
t = @constinferred f(CuVector{Float64, CUDA.DeviceMemory}, W)
6060
@test scalartype(t) == Float64
6161
@test codomain(t) == W
6262
@test space(t) == (W one(W))

0 commit comments

Comments
 (0)