Files
rocm-systems/projects/hip-tests/catch/unit/stream/CMakeLists.txt
T
Jatin Chaudhary bf7b7e6809 SWDEV-428670 - Delete hipStream*Performance tests
This class of tests can fail randomnly since they assume that time to
create first set of stream should be greater than second set. This is
incorrect since there can be multiple reason why the time for second
batch can be greater than the first batch.

Change-Id: I5f91c2bab7119608014dead25fdeb38523c61682


[ROCm/hip-tests commit: 39aeb7b42e]
2023-12-13 17:12:16 +00:00

41 righe
1.2 KiB
CMake

set(COMMON_SHARED_SRC streamCommon.cc)
set(TEST_SRC
hipStreamCreate.cc
hipStreamGetFlags.cc
hipStreamGetPriority.cc
hipMultiStream.cc
hipStreamAddCallback.cc
hipStreamCreateWithFlags.cc
hipStreamCreateWithPriority.cc
hipStreamDestroy.cc
hipAPIStreamDisable.cc
hipStreamValue.cc
hipStreamSynchronize.cc
hipStreamQuery.cc
hipDeviceGetStreamPriorityRange.cc
hipStreamACb_StrmSyncTiming.cc
hipLaunchHostFunc.cc
hipStreamGetDevice.cc
)
if(HIP_PLATFORM MATCHES "amd")
set(TEST_SRC ${TEST_SRC} hipStreamGetCUMask.cc hipStreamWithCUMask.cc
hipStreamACb_MultiThread.cc hipStreamWaitEvent.cc)
else()
set(TEST_SRC
${TEST_SRC}
# hipStreamAttachMemAsync_old.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.
hipStreamACb_MultiThread.cc)
# set_source_files_properties(hipStreamAttachMemAsync_old.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 COMMON_SHARED_SRC ${COMMON_SHARED_SRC})