Skip to content

Commit df12715

Browse files
committed
Update README
[no ci]
1 parent ad54f62 commit df12715

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,14 @@ TensorOperations, i.e.
2121
using TensorOperations
2222
using TensorOperationsTBLIS
2323

24+
tblisbackend = tblisBackend()
2425
α = randn()
2526
A = randn(5, 5, 5, 5, 5, 5)
2627
B = randn(5, 5, 5)
2728
C = randn(5, 5, 5)
2829
D = zeros(5, 5, 5)
2930

30-
@tensor backend = tblis begin
31+
@tensor backend = tblisbackend begin
3132
D2[a, b, c] = A[a, e, f, c, f, g] * B[g, b, e] + α * C[c, a, b]
3233
E2[a, b, c] := A[a, e, f, c, f, g] * B[g, b, e] + α * C[c, a, b]
3334
end
@@ -43,7 +44,8 @@ tblis_set_num_threads(4)
4344

4445
## Notes
4546

46-
- This implementation of tblis for TensorOperations.jl is only supported from v4.0.0 of
47-
TensorOperations.jl onwards. For older versions, you could look for
47+
- This implementation of tblis for TensorOperations.jl is only supported from v5 of
48+
TensorOperations.jl onwards. For v4, an earlier version of this package exists.
49+
For older versions, you could look for
4850
[BliContractor.jl](https://github.com/xrq-phys/BliContractor.jl) or
4951
[TBLIS.jl](https://github.com/FermiQC/TBLIS.jl).

0 commit comments

Comments
 (0)