| 30 | |
| 31 | |
| 32 | void demo_CompMatr() { |
| 33 | |
| 34 | CompMatr matr = createCompMatr(4); |
| 35 | for (qindex r=0; r<matr.numRows; r++) |
| 36 | for (qindex c=0; c<matr.numRows; c++) |
| 37 | matr.cpuElems[r][c] = r*matr.numRows + c + 1; |
| 38 | syncCompMatr(matr); |
| 39 | |
| 40 | for (int num : {0, 12, 5, 1}) { |
| 41 | rootPrint(num); |
| 42 | setMaxNumReportedItems(num, num); |
| 43 | reportCompMatr(matr); |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | |
| 48 |
no test coverage detected