Files
rocm-systems/catch/multiproc/CMakeLists.txt
T
lthakur 3fbea0cd5a SWDEV-293806 - Adding tests to check behvior related to fine and coarse grain (#2402)
Change-Id: Ia437adf138e6952ff42b6081c39da5bfaf931e53
2021-11-25 15:11:10 +05:30

26 lines
700 B
CMake

# Common Tests
set(LINUX_TEST_SRC
childMalloc.cc
hipDeviceComputeCapabilityMproc.cc
hipDeviceGetPCIBusIdMproc.cc
hipDeviceTotalMemMproc.cc
hipGetDeviceAttributeMproc.cc
hipGetDeviceCountMproc.cc
hipGetDevicePropertiesMproc.cc
hipSetGetDeviceMproc.cc
hipIpcMemAccessTest.cc
hipHostMallocTestsMproc.cc
hipMallocConcurrencyMproc.cc
hipMemCoherencyTstMProc.cc
)
if(UNIX)
# Create shared lib of all tests
add_library(MultiProc SHARED EXCLUDE_FROM_ALL ${LINUX_TEST_SRC})
target_link_libraries(MultiProc ${CMAKE_DL_LIBS})
# Add dependency on build_tests to build it on this custom target
add_dependencies(build_tests MultiProc)
endif()