Files
rocm-systems/catch/stress/memory/CMakeLists.txt
T
2023-06-28 12:47:48 +05:30

20 lines
532 B
CMake

# Common Tests - Test independent of all platforms
set(TEST_SRC
memcpy.cc
hipMemcpyMThreadMSize.cc
hipMallocManagedStress.cc
hipMemPrftchAsyncStressTst.cc
hipHostMallocStress.cc
)
if(UNIX)
set(TEST_SRC ${TEST_SRC}
hipHmmOvrSubscriptionTst.cc)
add_executable(hold_memory EXCLUDE_FROM_ALL hold_memory.cc)
add_dependencies(stress_test hold_memory)
endif()
hip_add_exe_to_target(NAME memory_stress
TEST_SRC ${TEST_SRC}
TEST_TARGET_NAME stress_test)