2023-07-08 17:20:41 +02:00
|
|
|
set(TEST_SRC
|
|
|
|
|
execution_control_common.cc
|
2025-12-09 11:07:42 -08:00
|
|
|
hipFuncGetAttributesBasic.cc
|
2023-12-28 19:32:13 +01:00
|
|
|
hipLaunchKernel.cc
|
2023-12-28 19:31:47 +01:00
|
|
|
hipLaunchCooperativeKernel.cc
|
|
|
|
|
hipLaunchCooperativeKernelMultiDevice.cc
|
2023-07-08 17:20:41 +02:00
|
|
|
)
|
|
|
|
|
|
2023-12-28 19:32:13 +01:00
|
|
|
if(HIP_PLATFORM MATCHES "amd")
|
|
|
|
|
set(TEST_SRC ${TEST_SRC}
|
|
|
|
|
hipExtLaunchKernel.cc
|
|
|
|
|
hipExtLaunchMultiKernelMultiDevice.cc
|
2023-12-28 19:32:13 +01:00
|
|
|
launch_api.cc
|
2024-07-12 20:55:55 +05:30
|
|
|
hipGetProcAddressLaunchCbExecCtrlApis.cc
|
2023-12-28 19:32:13 +01:00
|
|
|
)
|
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
|
|
|
|
|
)
|
2023-12-28 19:32:13 +01:00
|
|
|
endif()
|
|
|
|
|
|
2023-07-08 17:20:41 +02:00
|
|
|
hip_add_exe_to_target(NAME ExecutionControlTest
|
|
|
|
|
TEST_SRC ${TEST_SRC}
|
2025-12-03 16:53:17 +00:00
|
|
|
TEST_TARGET_NAME build_tests)
|