Skip to content

Commit 8ddd164

Browse files
committed
Merge remote-tracking branch 'origin/utils' into hipMemAdvise_tests
2 parents 56b5982 + 8a0e740 commit 8ddd164

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/catch/include/utils.hh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ inline void LaunchDelayKernel(const std::chrono::milliseconds interval, const hi
8484
// Clock rate is in kHz => number of clock ticks in a millisecond
8585
HIP_CHECK(hipDeviceGetAttribute(&ticks_per_ms, hipDeviceAttributeClockRate, 0));
8686
Delay<<<1, 1, 0, stream>>>(interval.count(), ticks_per_ms);
87+
HIP_CHECK(hipGetLastError());
8788
}
8889

8990
template <typename... Attributes>

0 commit comments

Comments
 (0)