Simple speedup for opencl level_scheduling

This commit is contained in:
Tong Dong Qiu
2022-07-07 12:31:10 +02:00
parent 3434e9e36e
commit 2690917e93

View File

@@ -332,6 +332,7 @@ void findLevelScheduling(int *CSRColIndices, int *CSRRowPointers, int *CSCRowInd
nextActiveRowIndex++; nextActiveRowIndex++;
} }
} }
rowsToStart.clear();
colorEnd = nextActiveRowIndex; colorEnd = nextActiveRowIndex;
rowsPerColor.emplace_back(nextActiveRowIndex - activeRowIndex); rowsPerColor.emplace_back(nextActiveRowIndex - activeRowIndex);
} }