SWDEV-270599 - Refactored the way we get time from start/stop events in all cases

Change-Id: Id3f9bcad45d643e493daf9d5f47b3a032a427177


[ROCm/clr commit: f665936fe1]
This commit is contained in:
Christophe Paquot
2021-05-03 12:55:37 -07:00
parent f6f8fa7787
commit 18af8b7754
3 changed files with 14 additions and 15 deletions
+1 -1
View File
@@ -390,7 +390,7 @@ hipError_t ihipModuleLaunchKernel(hipFunction_t f, uint32_t globalWorkSizeX,
command->retain();
}
if (stopEvent != nullptr) {
eStop->addMarker(queue, command, false);
eStop->addMarker(queue, command, true);
command->retain();
}
command->release();