Files
rocm-systems/projects/hip-tests/catch/unit/compiler/CMakeLists.txt
T
taosang2 225cedd44c SWDEV-459479 - Add compressed codeobj test
Add simple tests to verify compressed code
objects.

Change-Id: Iae148c3c928e18247624937512918dbb3cbc462d


[ROCm/hip-tests commit: 6e1c4c2655]
2024-11-26 12:14:15 -05:00

22 lines
546 B
CMake

# Common Tests - Test independent of all platforms
set(TEST_SRC
hipClassKernel.cc
)
hip_add_exe_to_target(NAME CompilerTest
TEST_SRC ${TEST_SRC}
TEST_TARGET_NAME build_tests)
if(HIP_PLATFORM MATCHES "amd")
set(TEST_SRC
hipSquare.cc
)
set_source_files_properties(hipSquare.cc PROPERTIES COMPILE_FLAGS "--offload-compress")
hip_add_exe_to_target(NAME SimpleCompressedCodeObjectTest
TEST_SRC ${TEST_SRC}
TEST_TARGET_NAME build_tests)
endif()