SWDEV-360437 - use hipGetLastError() correctly (#295)
removing the unnecessary hipGetLastError since its interfering with subsequent tests Change-Id: I6f78a265dd7e55c7ac48913eb68be266f9163df5
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
9a40c9a6da
Коммит
849cd91612
@@ -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>
|
||||
|
||||
Ссылка в новой задаче
Block a user