# Copyright (c) Advanced Micro Devices, Inc., or its affiliates. # # SPDX-License-Identifier: MIT set(TEST_SRC execution_control_common.cc hipFuncGetAttributesBasic.cc hipFuncSetCacheConfig.cc hipLaunchKernel.cc hipLaunchCooperativeKernel.cc ) if(HIP_PLATFORM MATCHES "amd") set(TEST_SRC ${TEST_SRC} hipExtLaunchKernel.cc hipExtLaunchMultiKernelMultiDevice.cc launch_api.cc hipGetProcAddressLaunchCbExecCtrlApis.cc hipLaunchCooperativeKernelMultiDevice.cc ) else() set(TEST_SRC ${TEST_SRC} hipFuncSetSharedMemConfig.cc hipFuncSetAttribute.cc ) endif() hip_add_exe_to_target(NAME ExecutionControlTest TEST_SRC ${TEST_SRC} TEST_TARGET_NAME build_tests)