Added a synchronization to benchmark.cc that is now required when calling acIntegrateStep
This commit is contained in:
@@ -131,6 +131,7 @@ run_benchmark(void)
|
|||||||
const AcReal dt = FLT_EPSILON; // TODO NOTE: time to timestep not measured
|
const AcReal dt = FLT_EPSILON; // TODO NOTE: time to timestep not measured
|
||||||
#if GEN_BENCHMARK_RK3 == 1
|
#if GEN_BENCHMARK_RK3 == 1
|
||||||
acIntegrateStep(2, dt);
|
acIntegrateStep(2, dt);
|
||||||
|
acSynchronizeStream(STREAM_ALL);
|
||||||
#else // GEN_BENCHMARK_FULL
|
#else // GEN_BENCHMARK_FULL
|
||||||
acIntegrate(dt);
|
acIntegrate(dt);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user