mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 22:59:56 -05:00
947dbed0aa
Any target that might need to link to hip code needs the `hip::device` target
16 lines
648 B
CMake
16 lines
648 B
CMake
macro (add_hip_test_macro name)
|
|
add_test_macro("${name}" ${ARGN})
|
|
set_property(TEST "${name}" APPEND
|
|
PROPERTY LABELS "HIP")
|
|
endmacro ()
|
|
|
|
add_hip_test_macro(HIP.ArchitectureOff HIPOnlyArchitectureOff)
|
|
add_hip_test_macro(HIP.CompileFlags HIPOnlyCompileFlags)
|
|
add_hip_test_macro(HIP.EnableStandard HIPEnableStandard)
|
|
add_hip_test_macro(HIP.InferHipLang1 HIPInferHipLang1)
|
|
add_hip_test_macro(HIP.InferHipLang2 HIPInferHipLang2)
|
|
add_hip_test_macro(HIP.MathFunctions HIPOnlyMathFunctions)
|
|
add_hip_test_macro(HIP.MixedLanguage HIPMixedLanguage)
|
|
add_hip_test_macro(HIP.TryCompile HIPOnlyTryCompile)
|
|
add_hip_test_macro(HIP.WithDefs HIPOnlyWithDefs)
|