Skip to content

Commit d1c8e0e

Browse files
committed
[CTS] adjust timestamp test
End and start timing can be the same if the operation that is being measure is fast enough.
1 parent 8990dfe commit d1c8e0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/conformance/event/urEventGetProfilingInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,5 +168,5 @@ TEST_P(urEventGetProfilingInfoForWaitWithBarrier, Success) {
168168
auto end_timing = reinterpret_cast<size_t *>(complete_data.data());
169169
ASSERT_NE(*end_timing, 0);
170170

171-
ASSERT_GT(*end_timing, *start_timing);
171+
ASSERT_GE(*end_timing, *start_timing);
172172
}

0 commit comments

Comments
 (0)