M4RI
20140914
|
multicore matrix operations More...
#include <m4ri/mzd.h>
Go to the source code of this file.
Functions | |
mzd_t * | mzd_mul_mp (mzd_t *C, mzd_t const *A, mzd_t const *B, int cutoff) |
Matrix multiplication via the cubic multiplication algorithm on multiple cores, i.e. compute C = AB. More... | |
mzd_t * | mzd_addmul_mp (mzd_t *C, mzd_t const *A, mzd_t const *B, int cutoff) |
Matrix multiplication and in-place addition via the cubic matrix multiplication algorithm on multiple cores, i.e. compute C = C+ AB. More... | |
mzd_t * | _mzd_addmul_mp4 (mzd_t *C, mzd_t const *A, mzd_t const *B, int cutoff) |
Matrix multiplication and in-place addition via cubic matrix multiplication algorithm on up to four cores, i.e. compute C = C+ AB. More... | |
mzd_t * | _mzd_mul_mp4 (mzd_t *C, mzd_t const *A, mzd_t const *B, int cutoff) |
Matrix multiplication via cubic matrix multiplication algorithm on up to four cores, i.e. compute C = C+ AB. More... | |
multicore matrix operations
Matrix multiplication and in-place addition via cubic matrix multiplication algorithm on up to four cores, i.e. compute C = C+ AB.
C | Product matrix |
A | Input matrix A |
B | Input matrix B |
cutoff | Minimal dimension for recursion. |
Matrix multiplication via cubic matrix multiplication algorithm on up to four cores, i.e. compute C = C+ AB.
C | Product matrix |
A | Input matrix A |
B | Input matrix B |
cutoff | Minimal dimension for recursion. |
Matrix multiplication and in-place addition via the cubic matrix multiplication algorithm on multiple cores, i.e. compute C = C+ AB.
This is the wrapper function including bounds checks. See _mzd_addmul_mp4 for implementation details.
C | product matrix |
A | Input matrix A |
B | Input matrix B |
cutoff | Minimal dimension for recursion. |
Matrix multiplication via the cubic multiplication algorithm on multiple cores, i.e. compute C = AB.
This is the wrapper function including bounds checks. See _mzd_mul_mp4 for implementation details.
C | Preallocated product matrix, may be NULL for automatic creation. |
A | Input matrix A |
B | Input matrix B |
cutoff | Minimal dimension for recursion. |