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
Currently provides implementations of `tensorcontract!` and `tensoradd!` for `StridedArray{<:BlasFloat}`. These can be accessed through the backend system of TensorOperations, i.e.
16
+
Currently provides implementations of `tensorcontract!` and `tensoradd!` for
17
+
`StridedArray{<:BlasFloat}`. These can be accessed through the backend system of
18
+
TensorOperations, i.e.
19
+
17
20
```julia
18
21
using TensorOperations
19
22
using TensorOperationsTBLIS
@@ -31,8 +34,16 @@ end
31
34
```
32
35
33
36
Additionally, the number of threads used by tblis can be set by:
37
+
34
38
```julia
35
39
using TensorOperationsTBLIS
36
40
tblis_set_num_threads(4)
37
41
@showtblis_get_num_threads()
38
42
```
43
+
44
+
## Notes
45
+
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
48
+
[BliContractor.jl](https://github.com/xrq-phys/BliContractor.jl) or
0 commit comments