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

removing the unnecessary hipGetLastError since its interfering with subsequent tests

Change-Id: I6f78a265dd7e55c7ac48913eb68be266f9163df5

[ROCm/hip-tests commit: 849cd91612]
This commit is contained in:
ROCm CI Service Account
2023-06-21 16:00:20 +05:30
کامیت شده توسط GitHub
والد 704efed132
کامیت 2ff66ee54b
@@ -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>