From 849cd91612e08a3f423753aa9d5c38adcd292a29 Mon Sep 17 00:00:00 2001 From: ROCm CI Service Account <66695075+rocm-ci@users.noreply.github.com> Date: Wed, 21 Jun 2023 16:00:20 +0530 Subject: [PATCH] SWDEV-360437 - use hipGetLastError() correctly (#295) removing the unnecessary hipGetLastError since its interfering with subsequent tests Change-Id: I6f78a265dd7e55c7ac48913eb68be266f9163df5 --- catch/include/utils.hh | 1 - 1 file changed, 1 deletion(-) diff --git a/catch/include/utils.hh b/catch/include/utils.hh index fec888bd97..98f6676d6d 100644 --- a/catch/include/utils.hh +++ b/catch/include/utils.hh @@ -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