mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
remove dead code
This commit is contained in:
@@ -338,7 +338,6 @@ void
|
|||||||
CuDILU<M, X, Y, l>::tuneThreadBlockSizes()
|
CuDILU<M, X, Y, l>::tuneThreadBlockSizes()
|
||||||
{
|
{
|
||||||
// TODO: generalize this code and put it somewhere outside of this class
|
// TODO: generalize this code and put it somewhere outside of this class
|
||||||
auto start = std::chrono::high_resolution_clock::now();
|
|
||||||
long long bestApplyTime = __LONG_LONG_MAX__;
|
long long bestApplyTime = __LONG_LONG_MAX__;
|
||||||
long long bestUpdateTime = __LONG_LONG_MAX__;
|
long long bestUpdateTime = __LONG_LONG_MAX__;
|
||||||
int bestApplyBlockSize = -1;
|
int bestApplyBlockSize = -1;
|
||||||
@@ -384,8 +383,6 @@ CuDILU<M, X, Y, l>::tuneThreadBlockSizes()
|
|||||||
|
|
||||||
m_applyThreadBlockSize = bestApplyBlockSize;
|
m_applyThreadBlockSize = bestApplyBlockSize;
|
||||||
m_updateThreadBlockSize = bestUpdateBlockSize;
|
m_updateThreadBlockSize = bestUpdateBlockSize;
|
||||||
auto end = std::chrono::high_resolution_clock::now();
|
|
||||||
long long durationInMicroSec = std::chrono::duration_cast<std::chrono::microseconds>(end - start).count();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace Opm::cuistl
|
} // namespace Opm::cuistl
|
||||||
|
|||||||
Reference in New Issue
Block a user