Fichiers
rocm-systems/projects/hip-tests/catch/unit/executionControl/CMakeLists.txt
T

29 lignes
792 B
CMake
Brut Vue normale Historique

set(TEST_SRC
execution_control_common.cc
hipFuncGetAttributes.cc
hipLaunchKernel.cc
hipLaunchCooperativeKernel.cc
hipLaunchCooperativeKernelMultiDevice.cc
)
if(HIP_PLATFORM MATCHES "amd")
set(TEST_SRC ${TEST_SRC}
hipExtLaunchKernel.cc
hipExtLaunchMultiKernelMultiDevice.cc
launch_api.cc
hipGetProcAddressLaunchCbExecCtrlApis.cc
)
2024-06-04 03:13:51 -07:00
else()
# These functions are currently unimplemented on AMD
set(TEST_SRC ${TEST_SRC}
hipFuncSetCacheConfig.cc
hipFuncSetSharedMemConfig.cc
hipFuncSetAttribute.cc
)
endif()
hip_add_exe_to_target(NAME ExecutionControlTest
TEST_SRC ${TEST_SRC}
TEST_TARGET_NAME build_tests
COMPILE_OPTIONS -std=c++17)