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: 2b57acc903]
このコミットが含まれているのは:
nives-vukovic
2022-11-02 04:01:41 +01:00
committed by GitHub
コミット 1d5763d4fa
+1 -2
ファイルの表示
@@ -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);