380ace735f
Change-Id: I5bda5ee3787a73aeeab5c25c05278e7aa2f8bfa2
22 wiersze
587 B
CMake
22 wiersze
587 B
CMake
set(TEST_SRC
|
|
execution_control_common.cc
|
|
hipFuncSetCacheConfig.cc
|
|
hipFuncSetSharedMemConfig.cc
|
|
hipFuncSetAttribute.cc
|
|
hipFuncGetAttributes.cc
|
|
hipLaunchCooperativeKernel.cc
|
|
hipLaunchCooperativeKernelMultiDevice.cc
|
|
)
|
|
|
|
if(HIP_PLATFORM MATCHES "amd")
|
|
set(TEST_SRC ${TEST_SRC}
|
|
hipExtLaunchKernel.cc
|
|
hipExtLaunchMultiKernelMultiDevice.cc
|
|
)
|
|
endif()
|
|
|
|
hip_add_exe_to_target(NAME ExecutionControlTest
|
|
TEST_SRC ${TEST_SRC}
|
|
TEST_TARGET_NAME build_tests
|
|
COMPILE_OPTIONS -std=c++17)
|