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
{{ message }}
Repository navigation
Commit 9e7a7ac
Browse filesBrowse the repository at this point in the historyBrowse files
TBLIS requires all tensors in a single operation to share one element type, which moreover
87
-
has to be one of `Float32`, `Float64`, `ComplexF32` or `ComplexF64`.
88
-
Arguments that do not meet these requirements, including non-strided arrays, are rejected
89
-
with an `ArgumentError` rather than passed on to another backend.
79
+
Backend for tensor operations on strided arrays that is based on the [TBLIS](https://github.com/devinamatthews/tblis) library.
80
+
TBLIS performs tensor additions, traces and contractions directly on strided memory, without the transpositions and temporaries that a BLAS-based approach requires.
81
+
This backend is only available through a package extension for [TBLIS.jl](https://github.com/QuantumKitHub/TBLIS.jl).
90
82
91
-
!!! warning
92
-
This backend is not supported on Windows: the `tblis_jll` binaries for that platform
93
-
abort the process from inside the library, so calls are rejected with an
94
-
`ArgumentError` there as well.
83
+
TBLIS requires all tensors in a single operation to be of the same element type, and only supports `BLASFloat`s.
95
84
96
-
!!! note
97
-
Contracting in place trades throughput for memory.
98
-
On a 16-core node this backend is roughly on par with
99
-
[`StridedBLAS`](@ref TensorOperations.StridedBLAS) for permuted real contractions and
100
-
slower for other shapes, but it allocates no permuted temporaries at all.
85
+
!!! warning
86
+
This backend is currently not supported on Windows: the `tblis_jll` binaries for that platform
87
+
abort the process from inside the library, so calls are rejected with an `ArgumentError`.
101
88
102
89
!!! warning
103
90
As of `tblis_jll` v1.3, TBLIS has no competitive support for complex element types: its
104
-
complex contraction kernels run an order of magnitude slower than the corresponding BLAS
105
-
calls.
106
-
Prefer [`StridedBLAS`](@ref TensorOperations.StridedBLAS) for complex-valued
107
-
contractions.
91
+
complex contraction kernels run an order of magnitude slower than the corresponding BLAS calls.
92
+
Prefer [`StridedBLAS`](@ref TensorOperations.StridedBLAS) for complex-valued contractions.
0 commit comments