To reorder a matrix:
-
Set V, N, M of interest
- in
/mtx/Mtx.h
, modify line 15 and 16 for N and M - specify V in the flag
--v {V_val}
- in
-
make clean && make spmm
-
Specify param and I/O matrix path. Execute the following:
./spmm --mtxfile {path_to_input_matrix_file}.mtx --outmtxfile {path_to_output_matrix_file}.mtx --maxiter 10 --n 64 --sched 0 --v {V_val}
-
The reordered matrix will be stored in
{path_to_output_matrix_file}.mtx
-
A1. Reordering result quality
-
A2. GNN performance improvement via the reordering
- visit the
/gnn
folder
- visit the
-
A3. SpMM kernel speedups via the reordering