Files
rocm-systems/catch/unit/executionControl/CMakeLists.txt
T
Rambabu Swargam 7fb9301d6b SWDEV-467854 - [catch2][dtest] Functional testcases for hipGetProcAddress API - Part 2
Change-Id: I4619f8e69b75d1193e98adce2707bf7876b1ba59
2025-01-21 12:53:28 -05:00

29 lines
792 B
CMake

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
)
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)