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

[Cherry Pick] Nvcc lazy linux fix. (#44997)

* nvcclazylinuxfix

* nvcclazylinuxfix
上级 e00aa903
......@@ -17,7 +17,7 @@
# this experiment option makes Paddle supports lazy loading before CUDA 11.7.
if(LINUX)
if(NOT ${ON_INFER} OR NOT ${LINUX})
if(NOT ON_INFER)
message(
"EXP_CUDA_MODULE_LOADING_LAZY only works with ON_INFER=ON on Linux platforms"
)
......
文件模式从 100644 更改为 100755
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册