We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5023f7 commit 4bcb517Copy full SHA for 4bcb517
src/tensors/backends.jl
@@ -26,3 +26,18 @@ Run `f` in a scope where the `blockscheduler` is determined by `scheduler' and `
26
kwargs...)
27
@with blockscheduler => select_scheduler(scheduler; kwargs...) f()
28
end
29
+
30
+# TODO: disable for trivial symmetry or small tensors?
31
+default_blockscheduler(t::AbstractTensorMap) = blockscheduler[]
32
33
+# MatrixAlgebraKit
34
+# ----------------
35
+"""
36
+ BlockAlgorithm{A,S}(alg, scheduler)
37
38
+Generic wrapper for implementing block-wise algorithms.
39
40
+struct BlockAlgorithm{A,S} <: MatrixAlgebraKit.AbstractAlgorithm
41
+ alg::A
42
+ scheduler::S
43
+end
0 commit comments