correct -x option in hip::device

Change-Id: I8c288e678b4357019144a024395cda1fcead61fc


[ROCm/hip commit: 9a0f5fa32c]
이 커밋은 다음에 포함됨:
David Salinas 작성하고 Aaron En Ye Shi가 2020-08-07 12:33:43 -04:00를 커밋함
1 부모 3a7d33577b
커밋 13ac3004af
1 파일이 변경됨
+2 -2
+2 -2
파일 보기
@@ -156,13 +156,13 @@ if(HIP_COMPILER STREQUAL "clang")
if (EXISTS ${AMD_DEVICE_LIBS_PREFIX}/amdgcn/bitcode)
set_property(TARGET hip::device APPEND PROPERTY
INTERFACE_COMPILE_OPTIONS -x hip
INTERFACE_COMPILE_OPTIONS -xhip
)
else()
# This path is to support an older build of the device library
# TODO: To be removed in the future.
set_property(TARGET hip::device APPEND PROPERTY
INTERFACE_COMPILE_OPTIONS -x hip --hip-device-lib-path=${AMD_DEVICE_LIBS_PREFIX}/lib
INTERFACE_COMPILE_OPTIONS -xhip --hip-device-lib-path=${AMD_DEVICE_LIBS_PREFIX}/lib
)
endif()