Contents
Lower Triangular Solve with Multiple Right-hand Sides (Trsm_lln)
Definition
Definition: Given a nonsingular LowerTriangularMatrix
and matrix
, the lower triangular solve with multiple right-hand sides (lower Trsm) computes the solution of
, where
and
are given and
is to be computed.
The name of this operation comes for the observation that if
and
are partitioned by columns,
then
so that
. In other words, a lower triangular solve must be performed with every right-hand side column
.
Theorems, Lemmas, and Corollaries
Algorithms
denotes the operation that overwrites right-hand side
with the solution of
. Let
denote the original contents of
.
Partitioned Matrix Expression
This operation has two PMEs:
PME 1
PME 2
Loop-invariants
The above PMEs allow for four different loop-invariants to be identified:
Invariant 1

Invariant 2

Invariant 3

Invariant 4

Algorithmic variants
Variant 1
unb
blk
Variant 2
unb
blk
Variant 3
unb
blk
Variant 4
unb
blk
Performance
Figure 1: Performance of the different variants (unblocked and blocked) on an Intel Xeon (3.4GHz) processor. For these experiments, the block size ( |
Related Operations





in the algorithms, nb_alg in the FLAMEC code) was chosen to equal 128. The reference implementation Simple loops computes the operation with simple indexed loops.