From 1d5763d4faac02ede62e8134e8ef5d7ebcda624b Mon Sep 17 00:00:00 2001 From: nives-vukovic <110852104+nives-vukovic@users.noreply.github.com> Date: Wed, 2 Nov 2022 04:01:41 +0100 Subject: [PATCH] EXSWHTEC-25 - Update Unit_hipEventCreateWithFlags_Positive test to include hipEventInterprocess flag on AMD (#3036) * Implement tests for hipEventCreateWithFlags - Add hipEventCreateWithFlags.cc with a simple positive unit test - Divide Unit_hipEventCreate_NullCheck into two separate tests - Add newly created file into CMakeLists.txt - Update Unit_hipEventCreateWithFlags_Positive test to include hipEventInterprocess flag [ROCm/hip commit: 2b57acc90341ed6d44676fba55d9d3a1702a3f75] --- projects/hip/tests/catch/unit/event/hipEventCreateWithFlags.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/projects/hip/tests/catch/unit/event/hipEventCreateWithFlags.cc b/projects/hip/tests/catch/unit/event/hipEventCreateWithFlags.cc index 2368fcad13..7f31c8e347 100644 --- a/projects/hip/tests/catch/unit/event/hipEventCreateWithFlags.cc +++ b/projects/hip/tests/catch/unit/event/hipEventCreateWithFlags.cc @@ -29,8 +29,7 @@ Unit_hipEventCreateWithFlags_Positive - Test simple event creation with hipEvent TEST_CASE("Unit_hipEventCreateWithFlags_Positive") { #if HT_AMD - // On AMD platform, hipEventInterprocess support is under development. Use of this flag will return an error. Omitted - const unsigned int flagUnderTest = GENERATE(hipEventDefault, hipEventBlockingSync, hipEventDisableTiming, hipEventReleaseToDevice, hipEventReleaseToSystem); + const unsigned int flagUnderTest = GENERATE(hipEventDefault, hipEventBlockingSync, hipEventDisableTiming, hipEventInterprocess | hipEventDisableTiming, hipEventReleaseToDevice, hipEventReleaseToSystem); #else // On Non-AMD platforms hipEventReleaseToDevice / hipEventReleaseToSystem are not defined const unsigned int flagUnderTest = GENERATE(hipEventDefault, hipEventBlockingSync, hipEventDisableTiming, hipEventInterprocess | hipEventDisableTiming);