diff --git a/test/amd/tensors.jl b/test/amd/tensors.jl index d0c9ca014..453933d72 100644 --- a/test/amd/tensors.jl +++ b/test/amd/tensors.jl @@ -107,7 +107,7 @@ for V in spacelist v_cpu = @constinferred adapt(Array, v_gpu) @test v_cpu isa TensorKit.SectorVector{T, I, Vector{T}} @test parent(v_cpu) == parent(v) - t = AMDGPU.randn(T, V1 ⊗ V2 ← V3) + t = AMDGPU.randn(T, V1 ⊗ V2 ⊗ V3 ← (V4 ⊗ V5)') s = svd_vals(t) s_cpu = adapt(Array, s) @test parent(s_cpu) == collect(parent(s)) diff --git a/test/cuda/tensors.jl b/test/cuda/tensors.jl index 750d7384a..f4c178549 100644 --- a/test/cuda/tensors.jl +++ b/test/cuda/tensors.jl @@ -126,7 +126,7 @@ for V in spacelist v_cpu = @constinferred adapt(Array, v_gpu) @test v_cpu isa TensorKit.SectorVector{T, I, Vector{T}} @test parent(v_cpu) == parent(v) - t = CUDA.randn(T, V1 ⊗ V2 ← V3) + t = CUDA.randn(T, V1 ⊗ V2 ⊗ V3 ← (V4 ⊗ V5)') s = svd_vals(t) s_cpu = adapt(Array, s) @test parent(s_cpu) == collect(parent(s))