当前位置:网站首页>cuda编译报错
cuda编译报错
2022-06-25 04:06:00 【leo0308】
-- The CXX compiler identification is GNU 7.5.0
-- The CUDA compiler identification is unknown
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working CUDA compiler: /usr/bin/nvcc
-- Check for working CUDA compiler: /usr/bin/nvcc -- broken
CMake Error at /usr/share/cmake-3.10/Modules/CMakeTestCUDACompiler.cmake:46 (message):
The CUDA compiler
"/usr/bin/nvcc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /home/liyong/taso/TASO-master/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_d1983/fast"
/usr/bin/make -f CMakeFiles/cmTC_d1983.dir/build.make CMakeFiles/cmTC_d1983.dir/build
make[1]: Entering directory '/home/liyong/taso/TASO-master/build/CMakeFiles/CMakeTmp'
Building CUDA object CMakeFiles/cmTC_d1983.dir/main.cu.o
/usr/bin/nvcc -x cu -c /home/liyong/taso/TASO-master/build/CMakeFiles/CMakeTmp/main.cu -o CMakeFiles/cmTC_d1983.dir/main.cu.o
ptxas /tmp/tmpxft_00006278_00000000-5_main.ptx, line 9; fatal : Unsupported .version 6.4; current version is '6.1'
ptxas fatal : Ptx assembly aborted due to errors
CMakeFiles/cmTC_d1983.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_d1983.dir/main.cu.o' failed
make[1]: *** [CMakeFiles/cmTC_d1983.dir/main.cu.o] Error 255
make[1]: Leaving directory '/home/liyong/taso/TASO-master/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_d1983/fast' failed
make: *** [cmTC_d1983/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:7 (project)
-- Configuring incomplete, errors occurred!
See also "/home/liyong/taso/TASO-master/build/CMakeFiles/CMakeOutput.log".
See also "/home/liyong/taso/TASO-master/build/CMakeFiles/CMakeError.log".
解决方法:
在
边栏推荐
- In Net 6 using dotnet format formatting code
- 2021-04-02
- Integrate CDN to create the ultimate service experience for customers!
- Triangle class (construction and deconstruction)
- JS function to realize simple calculator
- JDBC (IV)
- In depth understanding of line height and vertical align
- Difference between asemi high power FET and triode
- Ctfhub eggs
- Redis (17)
猜你喜欢
小白一键重装官网下载使用方法
Vscade setting clang format
Install pytorch through pip to solve the problem that torch cannot be used in jupyter notebook (modulenotfoundererror:no module named 'Torch').
SQL lab range explanation
两小时带你进入软件测试行业风口(附全套软件测试学习路线)
Teach you to write non maintainable PHP code step by step
Activereportsjs V3.0 comes on stage
Prototypical Networks for Few-shot Learning
The SQL response is slow. What are your troubleshooting ideas?
Summary of SQL injection (I)
随机推荐
Penetration test - directory traversal vulnerability
Use js to simply implement the apply, call and bind methods
Student achievement management system based on SSH
DMA double buffer mode of stm32
Laravel Vonage SMS sending
parallel recovery slave next change & parallel recovery push change
EL & JSTL (XIII)
How to open the DWG file of the computer
Chapter IX app project test (2) test tools
Notes on non replacement elements in the line (padding, margin, and border)
融合CDN,为客户打造极致服务体验!
Various pits encountered in the configuration of yolov3 on win10
Basic knowledge of web pages (URL related)
基于Cortex-M3、M4的精准延时(系统定时器SysTick延时,可用于STM32、ADuCM4050等)
Even if you are not good at anything, you are growing a little bit [to your 2021 summary]
[image fusion] image fusion based on MATLAB directional discrete cosine transform and principal component analysis [including Matlab source code 1907]
Eyeshot Ultimate 2022 Crack By Xacker
CSRF (Cross Site Request Forgery) &ssrf (server request forgery) (IV)
【图像融合】基于matlab方向离散余弦变换和主成分分析图像融合【含Matlab源码 1907期】
Precise delay based on Cortex-M3 and M4 (systick delay of system timer can be used for STM32, aducm4050, etc.)