未验证 提交 9efa5af4 编写于 作者: Y YuanRisheng 提交者: GitHub

[BugFix]Fix compile error in multi-cuda archs (#54181)

* fix compile error

* delete code
上级 dabfbba9
...@@ -105,8 +105,10 @@ else() ...@@ -105,8 +105,10 @@ else()
endif() endif()
if(WITH_GPU) if(WITH_GPU)
add_definitions(-DCUDA_REAL_ARCHS=${NVCC_FLAGS_EXTRA_real_archs} set_source_files_properties(
)# for backends/gpu/gpu_resources.cc backends/gpu/gpu_resources.cc
PROPERTIES COMPILE_FLAGS
"-DCUDA_REAL_ARCHS=\"${NVCC_FLAGS_EXTRA_real_archs}\"")
nv_library( nv_library(
phi ${PHI_BUILD_TYPE} phi ${PHI_BUILD_TYPE}
SRCS ${PHI_SRCS} SRCS ${PHI_SRCS}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册