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

rawspec Makefile doesn't include newer GPU SM architectures #73

Open
khouston22 opened this issue Oct 31, 2024 · 2 comments
Open

rawspec Makefile doesn't include newer GPU SM architectures #73

khouston22 opened this issue Oct 31, 2024 · 2 comments

Comments

@khouston22
Copy link

rawspec as currently configured won't run for newer GPU compute architectures because the appropriate PTX code won't be generated.

Makefile line 64 is this:
SMS ?= 35 50 52 60 61 70 75
which implies that code will be generated for sm_35, sm_50, ... sm_75 architectures

For nvcc release 12.3, "nvcc --list-gpu-code" lists the following supported architectures:
sm_50
sm_52
sm_53
sm_60
sm_61
sm_62
sm_70
sm_72
sm_75
sm_80
sm_86
sm_87
sm_89
sm_90
which implies line 64 should be:
SMS ?= 35 50 52 53 60 61 62 70 72 75 80 86 87 89 90
Perhaps in practice not all values need support. I personally needed sm_86 for my RTX 3070 setup.

@david-macmahon
Copy link
Contributor

Yeah, it probably is time to update the default list, but in the meantime you can specify your own SMS list on the make command line:

make SMS="60 61 70 75 86"

(If the list has multiple entries, be sure to use quotes as shown above so that the shell treats it as a single string)

@khouston22
Copy link
Author

khouston22 commented Nov 1, 2024 via email

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