mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Simple speedup for opencl level_scheduling
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user