| 38 | #define DM_NOT_EMPTY() MATRIX_NOT_EMPTY(DM) |
| 39 | |
| 40 | void setup() { |
| 41 | // use the malloc family for allocations |
| 42 | Alloc_Reset(); |
| 43 | |
| 44 | // initialize GraphBLAS |
| 45 | GrB_init(GrB_NONBLOCKING); |
| 46 | |
| 47 | // all matrices in CSR format |
| 48 | GxB_Global_Option_set(GxB_FORMAT, GxB_BY_ROW); |
| 49 | |
| 50 | // set delta matrix flush threshold |
| 51 | Config_Option_set(Config_DELTA_MAX_PENDING_CHANGES, "10000", NULL); |
| 52 | } |
| 53 | |
| 54 | void tearDown() { |
| 55 | GrB_finalize(); |
nothing calls this directly
no test coverage detected