未验证 提交 383dc908 编写于 作者: X xiaoxiaohehe001 提交者: GitHub

nvcc_ignore_ (#46420)

上级 b106c424
...@@ -68,6 +68,7 @@ paddle/infrt/tests/dialect/Output ...@@ -68,6 +68,7 @@ paddle/infrt/tests/dialect/Output
paddle/infrt/tests/lit.cfg.py paddle/infrt/tests/lit.cfg.py
paddle/infrt/kernel/phi/infershaped/infershaped_kernel_launchers.cc paddle/infrt/kernel/phi/infershaped/infershaped_kernel_launchers.cc
paddle/fluid/pybind/eager_op_function.cc paddle/fluid/pybind/eager_op_function.cc
tools/nvcc_lazy
# these files (directories) are generated before build system generation # these files (directories) are generated before build system generation
paddle/fluid/operators/generated_op.cc paddle/fluid/operators/generated_op.cc
......
...@@ -38,6 +38,7 @@ if(LINUX) ...@@ -38,6 +38,7 @@ if(LINUX)
set(CUDA_USE_STATIC_CUDA_RUNTIME set(CUDA_USE_STATIC_CUDA_RUNTIME
OFF OFF
CACHE BOOL "" FORCE) CACHE BOOL "" FORCE)
set(CMAKE_CUDA_FLAGS "--cudart shared")
enable_language(CUDA) enable_language(CUDA)
execute_process( execute_process(
COMMAND "rm" "-rf" "${CMAKE_SOURCE_DIR}/tools/nvcc_lazy" COMMAND "rm" "-rf" "${CMAKE_SOURCE_DIR}/tools/nvcc_lazy"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册