SWDEV-360437 - fix tests with hipGetLastError() (#3040)
Unit_hipFreeImplicitSyncDev* Unit_hipFreeImplicitSyncHost* Unit_hipFreeImplicitSyncArray* Unit_hipStreamCreateWithFlags_DefaultStreamInteraction Unit_hipStreamSynchronize_NullStreamAndStreamPerThread Change-Id: I382cf13bfe15bd8b1af657bdbb8c4f9043ea6f17
이 커밋은 다음에 포함됨:
1 부모
1787d43b70
커밋
acf7e3580b
2 파일이 변경됨
+2
-3
검색과 일치하는 파일 없음
@@ -110,13 +110,13 @@ TEST_CASE("Unit_hipEventSynchronize_NoEventRecord_Positive") {
|
||||
|
||||
// Record the end_event
|
||||
HIP_CHECK(hipEventRecord(end_event, NULL));
|
||||
// End event has not been completed
|
||||
HIP_CHECK_ERROR(hipEventQuery(end_event), hipErrorNotReady);
|
||||
|
||||
// When hipEventSynchronized is called on event that has not been recorded,
|
||||
// the function returns immediately
|
||||
HIP_CHECK(hipEventSynchronize(dummy_event));
|
||||
|
||||
// End event has not been completed
|
||||
HIP_CHECK_ERROR(hipEventQuery(end_event), hipErrorNotReady);
|
||||
// Wait for end_event to complete
|
||||
HIP_CHECK(hipEventSynchronize(end_event));
|
||||
|
||||
|
||||
새 이슈에서 참조
사용자 차단