Files
rocm-systems/catch/unit/stream/CMakeLists.txt
T
ROCm CI Service Account 0ce3886fc8 SWDEV-346657 - add more hipStreamAcb test (#3064)
* SWDEV-346657 - add more hipStreamAcb test

Change-Id: If94628ec9c285e9689ce471931b3c40b7d3ece84
2022-11-28 20:16:16 +05:30

52 γραμμές
1.5 KiB
CMake

if(HIP_PLATFORM MATCHES "amd")
set(TEST_SRC
hipStreamCreate.cc
hipStreamGetFlags.cc
hipStreamGetPriority.cc
hipMultiStream.cc
hipStreamAddCallback.cc
hipStreamCreateWithFlags.cc
hipStreamCreateWithPriority.cc
hipStreamDestroy.cc
hipStreamGetCUMask.cc
hipAPIStreamDisable.cc
streamCommon.cc
hipStreamValue.cc
hipStreamWithCUMask.cc
hipStreamACb_MultiThread.cc
hipStreamSynchronize.cc
hipStreamQuery.cc
hipStreamWaitEvent.cc
hipDeviceGetStreamPriorityRange.cc
hipStreamACb_StrmSyncTiming.cc
)
else()
set(TEST_SRC
hipStreamCreate.cc
hipStreamGetFlags.cc
hipStreamGetPriority.cc
hipMultiStream.cc
hipStreamACb_MultiThread.cc
hipStreamAddCallback.cc
hipStreamCreateWithFlags.cc
hipStreamCreateWithPriority.cc
hipStreamDestroy.cc
hipAPIStreamDisable.cc
# hipStreamAttachMemAsync.cc # Disabling it on nvidia due to issue in function definition of hipStreamAttachMemAsync
# Fixing would break ABI, to be re-enabled when the fix is made.
streamCommon.cc
hipStreamValue.cc
hipStreamSynchronize.cc
hipStreamQuery.cc
hipDeviceGetStreamPriorityRange.cc
hipStreamACb_StrmSyncTiming.cc
)
# set_source_files_properties(hipStreamAttachMemAsync.cc PROPERTIES COMPILE_FLAGS -std=c++17)
endif()
hip_add_exe_to_target(NAME StreamTest
TEST_SRC ${TEST_SRC}
TEST_TARGET_NAME build_tests
COMPILE_OPTIONS -std=c++17)