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>