SWDEV-360437 - use hipGetLastError() correctly (#295)

removing the unnecessary hipGetLastError since its interfering with subsequent tests

Change-Id: I6f78a265dd7e55c7ac48913eb68be266f9163df5
This commit is contained in:
ROCm CI Service Account
2023-06-21 16:00:20 +05:30
committed by GitHub
parent 9a40c9a6da
commit 849cd91612
-1
View File
@@ -134,7 +134,6 @@ inline void LaunchDelayKernel(const std::chrono::milliseconds interval, const hi
HIPCHECK(hipDeviceGetAttribute(&ticks_per_ms, hipDeviceAttributeClockRate, 0));
}
Delay<<<1, 1, 0, stream>>>(interval.count(), ticks_per_ms);
HIP_CHECK(hipGetLastError());
}
template <typename... Attributes>