4287af6a2f
Migrated malloc related files under memory folder into catch2 framework Change-Id: I5aa07fc8148bdf6bef135947091aaf1d3c54663b
22 строки
575 B
CMake
22 строки
575 B
CMake
# AMD Tests
|
|
set(LINUX_TEST_SRC
|
|
hipMallocConcurrency.cc
|
|
childMalloc.cc
|
|
hipDeviceComputeCapabilityMproc.cc
|
|
hipDeviceGetPCIBusIdMproc.cc
|
|
hipDeviceTotalMemMproc.cc
|
|
hipGetDeviceAttributeMproc.cc
|
|
hipGetDeviceCountMproc.cc
|
|
hipGetDevicePropertiesMproc.cc
|
|
hipSetGetDeviceMproc.cc
|
|
hipIpcMemAccessTest.cc
|
|
)
|
|
|
|
if(UNIX)
|
|
# Create shared lib of all tests
|
|
add_library(MultiProc SHARED EXCLUDE_FROM_ALL ${LINUX_TEST_SRC})
|
|
|
|
# Add dependency on build_tests to build it on this custom target
|
|
add_dependencies(build_tests MultiProc)
|
|
endif()
|