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

Fail to release in RTX3070 and CUDA11 #22

Open
slypanzer opened this issue Dec 9, 2022 · 2 comments
Open

Fail to release in RTX3070 and CUDA11 #22

slypanzer opened this issue Dec 9, 2022 · 2 comments

Comments

@slypanzer
Copy link

Hello, I try to release your work in my computer with RTX3070 and CUDA11. I compile this project by the cmd as follow:
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CUDA_FLAGS="-arch=sm_70" .. (success)
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CUDA_FLAGS="-arch=sm_62" .. (success)
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CUDA_FLAGS="-arch=sm_80" .. (fail,nvcc fatal : Value 'sm_80' is not defined for option 'gpu-architecture')

and I run this project, it failed with error as follow:

Stack trace:
7 0x7f763249461f clone + 63
6 0x7f7632f156db /lib/x86_64-linux-gnu/libpthread.so.0(+0x76db) [0x7f7632f156db]
5 0x7f7634d2119d /home/fancy/anaconda3/lib/libstdc++.so.6(+0xc819d) [0x7f7634d2119d]
4 0x556db324d14e ./build_RelWithDebInfo/applications/surfel_meshing/SurfelMeshing(+0xc014e) [0x556db324d14e]
3 0x556db31e996a _libvis_main(int, char**) + 19530
2 0x556db31d2417 vis::CUDASurfelReconstruction::UpdateVisualizationBuffers(CUstream_st*, unsigned int, unsigned int, unsigned int, int, bool, bool, bool, bool) + 71
1 0x556db31e2ab8 vis::UpdateSurfelVertexBufferCUDA(CUstream_st*, unsigned int, int, unsigned int, vis::CUDABuffer
const&, unsigned int, unsigned int, cudaGraphicsResource*, unsigned int, bool, bool, bool, bool) + 1432
0 0x7f763408cf52 loguru::StreamLogger::~StreamLogger() + 162
12:18:25.238 cuda_surfel_reconstruct:381 FATL| Cuda Error: invalid resource handle

Could someone help me? Thanks!

@puzzlepaint
Copy link
Owner

The RTX 3070 seems to have CUDA compute capability 8.6. Did you try -DCMAKE_CUDA_FLAGS="-arch=sm_86"?

@slypanzer
Copy link
Author

Thanks for your reply, it failed too. But I find a computer with 1060 and CUDA10, success.

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

2 participants