当前位置:网站首页>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".
解决方法:
在
边栏推荐
- 固態硬盤開盤數據恢複的方法
- What is Ethernet and how to connect the computer
- Difference between asemi high power FET and triode
- 【FLink】access closed classloader classloader. check-leaked-classloader
- Opensea PHP development kit
- DMA double buffer mode of stm32
- Teach you to write non maintainable PHP code step by step
- 固态硬盘开盘数据恢复的方法
- Kotlin compose listens to the soft keyboard and clicks enter to submit the event
- How to download and use Xiaobai one click reload on the official website
猜你喜欢

Which programming language is the most cumbersome to implement Hello world?

Rce code execution & command execution (V)

【图像融合】基于matlab方向离散余弦变换和主成分分析图像融合【含Matlab源码 1907期】

How to use the Magic pig system reinstallation master

Introduction to the hardest core PWN in the whole network_ Graphic analysis
![[image fusion] image fusion based on MATLAB directional discrete cosine transform and principal component analysis [including Matlab source code 1907]](/img/a1/f7a35a04e180e89d7f2fdbf89c1160.jpg)
[image fusion] image fusion based on MATLAB directional discrete cosine transform and principal component analysis [including Matlab source code 1907]

Méthode de récupération des données d'ouverture du disque dur à l'état solide

Five simple data types of JS

CTFHUB SSRF

Kotlin compose perfect todo project surface rendering background and shadow
随机推荐
In depth understanding of line height and vertical align
buuctf(pwn)
SQL lab range explanation
Even if you are not good at anything, you are growing a little bit [to your 2021 summary]
魔法猪系统重装大师怎么使用
XML (VIII)
Visual studio 2022 interface beautification tutorial
How PHP gets the user's City
Working principle of asemi three-phase rectifier bridge
What if win11 Bluetooth fails to connect? Solution of win11 Bluetooth unable to connect
dotnet-exec 0.4.0 released
February 20ctf record
ASEMI大功率场效应管和三极管的区别
The SQL response is slow. What are your troubleshooting ideas?
Customize the console plot result style
How to make colleagues under the same LAN connect to their own MySQL database
Everything is an object
Huawei Hongmeng development lesson 4
基于Cortex-M3、M4的精准延时(系统定时器SysTick延时,可用于STM32、ADuCM4050等)
The construction and usage of wampserver framework