SWDEV-327563 - Windows: enable skipped devicelib, event, stream tests (#2668)
Change-Id: Iebc9766f71f20148d2d4b6e08de7745111393a97
[ROCm/hip-tests commit: 824d79cd50]
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
a53690ab69
Коммит
7253d79db9
@@ -65,7 +65,8 @@
|
||||
"Unit_hipHostMalloc_NonCoherent",
|
||||
"Unit_hipHostMalloc_Coherent",
|
||||
"Unit_hipHostMalloc_Default",
|
||||
"Unit_hipStreamCreate_MultistreamBasicFunctionalities"
|
||||
"Unit_hipStreamCreate_MultistreamBasicFunctionalities",
|
||||
"Unit_hipEventIpc"
|
||||
]
|
||||
|
||||
}
|
||||
|
||||
@@ -10,17 +10,11 @@ set(TEST_SRC
|
||||
popc.cc
|
||||
ldg.cc
|
||||
threadfence_system.cc
|
||||
syncthreadsand.cc
|
||||
syncthreadscount.cc
|
||||
syncthreadsor.cc
|
||||
)
|
||||
|
||||
# skipped for windows compiler issue - Illegal instruction detected
|
||||
if(UNIX)
|
||||
set(TEST_SRC ${TEST_SRC}
|
||||
syncthreadsand.cc
|
||||
syncthreadscount.cc
|
||||
syncthreadsor.cc)
|
||||
endif()
|
||||
|
||||
|
||||
# AMD only tests
|
||||
set(AMD_TEST_SRC
|
||||
unsafeAtomicAdd.cc
|
||||
|
||||
@@ -3,15 +3,10 @@ set(TEST_SRC
|
||||
Unit_hipEvent_Negative.cc
|
||||
Unit_hipEvent.cc
|
||||
Unit_hipEventElapsedTime.cc
|
||||
Unit_hipEventRecord.cc
|
||||
Unit_hipEventIpc.cc
|
||||
)
|
||||
|
||||
# skipped for windows due to duplicate symbols
|
||||
if(UNIX)
|
||||
set(TEST_SRC ${TEST_SRC}
|
||||
Unit_hipEventRecord.cc
|
||||
Unit_hipEventIpc.cc)
|
||||
endif()
|
||||
|
||||
hip_add_exe_to_target(NAME EventTest
|
||||
TEST_SRC ${TEST_SRC}
|
||||
TEST_TARGET_NAME build_tests)
|
||||
|
||||
@@ -10,15 +10,9 @@ set(TEST_SRC
|
||||
hipStreamGetCUMask.cc
|
||||
hipAPIStreamDisable.cc
|
||||
streamCommon.cc
|
||||
)
|
||||
|
||||
#skipped in windows - duplicate HipTest::vector_square sym (compiler issue)
|
||||
if(UNIX)
|
||||
set(TEST_SRC ${TEST_SRC}
|
||||
hipStreamWithCUMask.cc
|
||||
hipStreamACb_MultiThread.cc)
|
||||
endif()
|
||||
|
||||
hipStreamWithCUMask.cc
|
||||
hipStreamACb_MultiThread.cc
|
||||
)
|
||||
else()
|
||||
set(TEST_SRC
|
||||
hipStreamCreate.cc
|
||||
@@ -31,7 +25,7 @@ set(TEST_SRC
|
||||
hipStreamCreateWithPriority.cc
|
||||
hipAPIStreamDisable.cc
|
||||
streamCommon.cc
|
||||
)
|
||||
)
|
||||
endif()
|
||||
|
||||
hip_add_exe_to_target(NAME StreamTest
|
||||
|
||||
Ссылка в новой задаче
Block a user