aa5f494517
Following tests are added in this patch
1) Functional Tests
2) Stress Tests
3) Multiprocess Tests
Change-Id: Ifd2310fe8f5d555a9af9b87c296fdf6dd4a0a552
[ROCm/hip-tests commit: de0eb21023]
25 linhas
769 B
CMake
25 linhas
769 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
|
|
hipIpcEventHandle.cc
|
|
hipIpcMemAccessTest.cc
|
|
deviceAllocationMproc.cc
|
|
)
|
|
|
|
# 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})
|