c9ae0281ff
Changes contain Device files under "hip/tests/src/runtimeApi/device" migrated to Catch2 and some additional device tests. Change-Id: Ie88adc3c32c2079456b14e029cfc6c319b48d8f6
26 строки
680 B
CMake
26 строки
680 B
CMake
# Common Tests - Test independent of all platforms
|
|
set(TEST_SRC
|
|
hipChooseDevice.cc
|
|
hipDeviceComputeCapability.cc
|
|
hipDeviceGetByPCIBusId.cc
|
|
hipDeviceGetLimit.cc
|
|
hipDeviceGetName.cc
|
|
hipDeviceGetPCIBusId.cc
|
|
hipDeviceSetGetCacheConfig.cc
|
|
hipDeviceSynchronize.cc
|
|
hipDeviceTotalMem.cc
|
|
hipGetDeviceAttribute.cc
|
|
hipGetDeviceCount.cc
|
|
hipGetDeviceProperties.cc
|
|
hipRuntimeGetVersion.cc
|
|
hipSetDeviceFlags.cc
|
|
hipSetGetDevice.cc
|
|
)
|
|
|
|
|
|
# Create shared lib of all tests
|
|
add_library(DeviceTest SHARED EXCLUDE_FROM_ALL ${TEST_SRC})
|
|
|
|
# Add dependency on build_tests to build it on this custom target
|
|
add_dependencies(build_tests DeviceTest)
|