diff --git a/projects/hip/rocclr/hip_event.cpp b/projects/hip/rocclr/hip_event.cpp index f2738169a8..dddadd1bfd 100644 --- a/projects/hip/rocclr/hip_event.cpp +++ b/projects/hip/rocclr/hip_event.cpp @@ -91,7 +91,7 @@ hipError_t Event::elapsedTime(Event& eStop, float& ms) { } ms = static_cast(static_cast(eStop.event_->profilingInfo().end_ - - event_->profilingInfo().start_))/1000000.f; + event_->profilingInfo().end_))/1000000.f; return hipSuccess; }