Files
rocm-systems/projects/hip-tests/catch/unit/rtc/CMakeLists.txt
T
ROCm CI Service Account e42f621831 SWDEV-368280 - Add Unit_hipStreamCaptureExtModuleLaunchKernel (#105)
For stream capture test of hipExtModuleLaunchKernel.
SWDEV-372824 - Add Unit_hipStreamCaptureRtc
For stream capture test based on RTC

Change-Id: I96ef1395f75189ad751ca637f5c3273d280e849a

[ROCm/hip-tests commit: fd758200e5]
2023-06-21 15:56:36 +05:30

27 lines
677 B
CMake

# Common Tests - Test independent of all platforms
set(TEST_SRC
saxpy.cc
warpsize.cc
hipRtcFunctional.cc
hipStreamCaptureRtc.cc
)
# AMD only tests
set(AMD_TEST_SRC
customOptions.cc
linker.cc
)
if(HIP_PLATFORM MATCHES "nvidia")
hip_add_exe_to_target(NAME RTC
TEST_SRC ${TEST_SRC}
TEST_TARGET_NAME build_tests
LINKER_LIBS nvrtc)
elseif(HIP_PLATFORM MATCHES "amd")
set(TEST_SRC ${TEST_SRC} ${AMD_TEST_SRC})
hip_add_exe_to_target(NAME RTC
TEST_SRC ${TEST_SRC}
TEST_TARGET_NAME build_tests
LINKER_LIBS hiprtc)
endif()