82957e3458
Change-Id: I17101e39fd05eb35c087ebdf3cb005d428d9f206
[ROCm/hip-tests commit: f90c5d218c]
24 líneas
715 B
CMake
24 líneas
715 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)
|
|
# the last argument linker libraries is required for this test but optional to the function
|
|
hip_add_exe_to_target(NAME MultiProc
|
|
TEST_SRC ${LINUX_TEST_SRC}
|
|
TEST_TARGET_NAME build_tests
|
|
LINKER_LIBS ${CMAKE_DL_LIBS})
|
|
endif()
|