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

removing the unnecessary hipGetLastError since its interfering with subsequent tests

Change-Id: I6f78a265dd7e55c7ac48913eb68be266f9163df5
Этот коммит содержится в:
ROCm CI Service Account
2023-06-21 16:00:20 +05:30
коммит произвёл GitHub
родитель 9a40c9a6da
Коммит 849cd91612
-1
Просмотреть файл
@@ -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>