|
|
@@ -7,6 +7,7 @@ add_library(InterfaceWithHIP OBJECT)
|
|
|
target_sources(InterfaceWithHIP PRIVATE interface.hip main.cxx)
|
|
|
target_compile_features(InterfaceWithHIP INTERFACE hip_std_14)
|
|
|
target_compile_features(InterfaceWithHIP INTERFACE cxx_std_11)
|
|
|
+set_property(TARGET InterfaceWithHIP PROPERTY HIP_ARCHITECTURES gfx900)
|
|
|
|
|
|
add_executable(HIPInferHipLang2 )
|
|
|
target_link_libraries(HIPInferHipLang2 PRIVATE InterfaceWithHIP)
|