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

nvcc_fix_ (#46569)

上级 3070dc8b
...@@ -18,6 +18,11 @@ echo "#!/usr/bin/env bash" >> $1 ...@@ -18,6 +18,11 @@ echo "#!/usr/bin/env bash" >> $1
echo "unset GREP_OPTIONS" >> $1 echo "unset GREP_OPTIONS" >> $1
echo "set -e" >> $1 echo "set -e" >> $1
echo -e >> $1 echo -e >> $1
echo "if [[ \$# -le 8 ]]; then" >> $1
echo " nvcc \"\$@\"" >> $1
echo " exit 0" >> $1
echo "fi" >> $1
echo -e >> $1
echo "# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved." >> $1 echo "# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved." >> $1
echo "#" >> $1 echo "#" >> $1
echo "# Licensed under the Apache License, Version 2.0 (the \"License\");" >> $1 echo "# Licensed under the Apache License, Version 2.0 (the \"License\");" >> $1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册