![]() |
Octopus
|
batchified linear combination: \( y = b*y + \sum_k a_k*x_k \) More...
batchified linear combination: \( y = b*y + \sum_k a_k*x_k \)
Definition at line 163 of file batch_ops.F90.
Private Member Functions | |
| subroutine | dbatch_gemv (np, xx, aa, bb, yy, aa2, bb2, yy2) |
| Linear combination of batches: yy(ist) = bb(ist) yy(ist) + sum_k aa(k, ist) xx(k)(ist) More... | |
| subroutine | zbatch_gemv (np, xx, aa, bb, yy, aa2, bb2, yy2) |
| Linear combination of batches: yy(ist) = bb(ist) yy(ist) + sum_k aa(k, ist) xx(k)(ist) More... | |
|
private |
Linear combination of batches: yy(ist) = bb(ist) yy(ist) + sum_k aa(k, ist) xx(k)(ist)
The coefficients are indexed by the states of the batch, 1:yynst. With aa2, bb2 and yy2, a second combination of the same xx is computed. For packed batches on the CPU, each xx is then read only once for both results.
| [in] | aa | (1:size(xx), 1:yynst) |
| [in] | bb | (1:yynst) |
Definition at line 2916 of file batch_ops.F90.
|
private |
Linear combination of batches: yy(ist) = bb(ist) yy(ist) + sum_k aa(k, ist) xx(k)(ist)
The coefficients are indexed by the states of the batch, 1:yynst. With aa2, bb2 and yy2, a second combination of the same xx is computed. For packed batches on the CPU, each xx is then read only once for both results.
| [in] | aa | (1:size(xx), 1:yynst) |
| [in] | bb | (1:yynst) |
Definition at line 4849 of file batch_ops.F90.