Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[compute_35 Error About CCTag ] #1712

Open
Ever-Bright-V opened this issue May 7, 2024 · 3 comments
Open

[compute_35 Error About CCTag ] #1712

Ever-Bright-V opened this issue May 7, 2024 · 3 comments

Comments

@Ever-Bright-V
Copy link

[ 67%] Built target opencv
[ 67%] Performing build step for 'cctag'
[ 1%] Building NVCC (Device) object src/CMakeFiles/CCTag.dir/cctag/cuda/CCTag_generated_triple_point.cu.o
nvcc fatal : Unsupported gpu architecture 'compute_35'
CMake Error at CCTag_generated_triple_point.cu.o.Release.cmake:220 (message):
Error generating
/home/everbright/Codes/aliceVison/build/external/cctag_build/src/CMakeFiles/CCTag.dir/./cctag/cuda/./CCTag_generated_triple_point.cu.o

make[5]: *** [src/CMakeFiles/CCTag.dir/build.make:294:src/CMakeFiles/CCTag.dir/cctag/cuda/CCTag_generated_triple_point.cu.o] 错误 1

@servantftechnicolor
Copy link
Contributor

Not easy to say without more info, but i think you're using cuda 12+ which is not supported.

@c-ewing
Copy link
Contributor

c-ewing commented Dec 4, 2024

Yes, your GPU is likely to old to use CUDA 12. CUDA 12 requires a compute capability of 5.0+, as per the Nvidia site.

See here for compatible GPUs with compute capability 5.0+

@BlaineHein
Copy link

BlaineHein commented Dec 14, 2024

The Alicevision code does not always correctly detect the GPU architecture, and then adds in old elements which are not supported by the architecture. Bandaid fix is to remove old architectures from the cctag CMakeLists.txt file. Look for a line that looks like "set(CCTAG_CUDA_CC_LIST_INIT0 3.5 3.7 5.0 5.2)". This would also be fixed by the request to remove EOL GPU from possible choices in the source code. Link to issue #1792

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants