|
BeBOP Optimized Sparse Kernel Interface Library
1.0.1h
|
Test basic kernel operations for a matrix in BCSR format. More...
#include <assert.h>#include <stdio.h>#include <stdlib.h>#include <oski/common.h>#include <oski/matrix.h>#include <oski/matcreate.h>#include <oski/tune.h>#include "abort_prog.h"#include "array_util.h"#include "readhbpat.h"Defines | |
| #define | CONV_TEMPLATE |
Functions | |
| void | check_MatMult (const oski_matrix_t A0, const oski_matrix_t A1, oski_index_t m, oski_index_t n) |
Verify that the input and tuned matrix return approximately the same answers for . | |
| void | check_MatTransMult (const oski_matrix_t A0, const oski_matrix_t A1, oski_index_t m, oski_index_t n) |
Verify that the input and tuned matrix return approximately the same answers for . | |
| void | check_MatConjTransMult (const oski_matrix_t A0, const oski_matrix_t A1, oski_index_t m, oski_index_t n) |
Verify that the input and tuned matrix return approximately the same answers for . | |
| int | main (int argc, char *argv[]) |
Test basic kernel operations for a matrix in BCSR format.
Also implicitly tests oski_ApplyMatTransforms().
| #define CONV_TEMPLATE |
"A_new = BCSR( InputMat, %d, %d )\n" \ "return A_new"
1.7.6.1