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
Copy file name to clipboardExpand all lines: test/enzyme/indexmanipulations/add_braid.jl
+12-14Lines changed: 12 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -42,23 +42,21 @@ spacelist = (
42
42
eltypes = (Float64, ComplexF64)
43
43
44
44
@timedtestset"Enzyme - Index Manipulations (add_braid!):"begin
45
-
@timedtestset"$(TensorKit.type_repr(sectortype(eltype(V)))) ($T)"for V in spacelist, T in eltypes
45
+
@timedtestset"$(TensorKit.type_repr(sectortype(eltype(V)))) ($T) Tα $Tα Tβ $Tβ"for V in spacelist, T in eltypes, Tα in (Active, Const), Tβ in (Active, Const)
46
46
atol =default_tol(T)
47
47
rtol =default_tol(T)
48
48
Vstr = TensorKit.type_repr(sectortype(eltype(V)))
49
-
@timedtestset"add_braid! Tα $Tα Tβ $Tβ"for Tα in (Active, Const), Tβ in (Active, Const)
Copy file name to clipboardExpand all lines: test/enzyme/indexmanipulations/add_transpose.jl
+13-19Lines changed: 13 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -42,28 +42,22 @@ spacelist = (
42
42
eltypes = (Float64, ComplexF64)
43
43
44
44
@timedtestset"Enzyme - Index Manipulations (add_transpose!):"begin
45
-
@timedtestset"$(TensorKit.type_repr(sectortype(eltype(V)))) ($T)"for V in spacelist, T in eltypes
45
+
@timedtestset"$(TensorKit.type_repr(sectortype(eltype(V)))) ($T) Tα $Tα Tβ $Tβ"for V in spacelist, T in eltypes, Tα in (Const, Active), Tβ in (Const, Active)
46
46
atol =default_tol(T)
47
47
rtol =default_tol(T)
48
+
A =randn(T, V[1] ⊗ V[2] ← V[4] ⊗ V[5])
49
+
α =randn(T)
50
+
β =randn(T)
48
51
49
-
@timedtestset"add_transpose! Tα $Tα Tβ $Tβ"for Tα in (Const, Active), Tβ in (Const, Active)
50
-
A =randn(T, V[1] ⊗ V[2] ← V[4] ⊗ V[5])
51
-
α =randn(T)
52
-
β =randn(T)
53
-
54
-
# repeat a couple times to get some distribution of arrows
0 commit comments