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

use native gpu architecture to build when CUDA is enabled #92

Closed

Conversation

KennyRotella
Copy link

fixes #91

Nvcc didn't compile correctly the sources for my architecture and adding -arch=native to CUDA_NVCC_FLAGS solved my issue

When -arch=native is specified, nvcc detects the visible GPUs on the system and generates codes for them [...]

[More details] https://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/index.html#options-for-steering-gpu-code-generation-gpu-architecture

@KennyRotella
Copy link
Author

this command does not apply to all cuda versions

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

Successfully merging this pull request may close these issues.

thrust::system::system_error after align call in FAST_VGICP_CUDA
1 participant