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

ptxas error uses too much shared data #9

Open
BloodLemonS opened this issue Sep 27, 2021 · 3 comments
Open

ptxas error uses too much shared data #9

BloodLemonS opened this issue Sep 27, 2021 · 3 comments

Comments

@BloodLemonS
Copy link

I'm really sorry to bother you again. I encountered "ptxas error uses too much shared data" in the final compilation process. I saw that the Cmakelist file needed to be modified in the previous communication with others. Could you please tell me how to make a detailed modification

@BloodLemonS
Copy link
Author

I'm using CUDA11.2

@BloodLemonS
Copy link
Author

I have also set up CUDa10.2 using Anaconda

@BruceCanovas
Copy link
Owner

Try to remove the line 40 of the CMakeLists.txt (include("${PROJECT_SOURCE_DIR}/cmake/UseCUDA.cmake")) and instead set the NVCC flags that fit the architecture of your CUDA GPU.

(PS : I apologize because my CMakeLists.txt is written in a pretty old fashioned way that should be deprecated now)

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