Skip to content

Commit 6577957

Browse files
committed
Some preamble fixes
1 parent 6d0049a commit 6577957

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

test/cuda/planar.jl

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
using Test, TestExtras
22
using Adapt
33
using TensorKit
4+
using TensorKit: type_repr
45
using TensorKit: PlanarTrivial, ℙ
56
using TensorKit: planaradd!, planartrace!, planarcontract!
67
using TensorOperations, CUDA, cuTENSOR
78

8-
@isdefined(TestSetup) || include("../setup.jl")
9-
using .TestSetup
9+
spacelist = default_spacelist(fast_tests)
1010

11-
@testset "Braiding tensor" begin
12-
for V in (Vtr, VU₁, VfU₁, VfSU₂, Vfib)
11+
for V in spacelist
12+
I = sectortype(first(V))
13+
Istr = type_repr(I)
14+
BraidingStyle(I) isa NoBraiding && continue
15+
@timedtestset "Braiding tensor + CUDA with symmetry: $Istr" verbose = true begin
1316
W = V[1] V[2] V[2] V[1]
1417
T = isreal(sectortype(W)) ? Float64 : ComplexF64
1518
t1 = @constinferred BraidingTensor(W, CuVector{T, CUDA.DeviceMemory})

0 commit comments

Comments
 (0)