8  
查询码: 00000149
linker command failed with exit code 1
专家 作者: 李亚东 于 2024年12月31日 ,于 2025年05月14日 编辑

root@saas-de-xz-xz-mr100x4-v4-dc31-784dcc74f6-s2hqm:/usr/local/corex/examples/cuda# clang++ -lcudart printf.cu -o print
/usr/bin/ld: cannot find -lcudart
clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
0
确认cuda头文件已安装
0
笔记



天数智芯知识库系统 -V 5.2.6 -wcp