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-tests commit: 97a1a626f3]
Bu işleme şunda yer alıyor:
nives-vukovic
2022-11-02 04:01:41 +01:00
işlemeyi yapan: GitHub
ebeveyn 2ee3a313bd
işleme 0c5c5d9785
+1 -2
Dosyayı Görüntüle
@@ -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);