Skip to content

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

@khouston22

Description

@khouston22

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions