Skip to content

[cmake] sm 86 is only for cuda >= 11.1#116

Merged
griwodz merged 1 commit intodevelopfrom
fix/cuda11
Oct 29, 2020
Merged

[cmake] sm 86 is only for cuda >= 11.1#116
griwodz merged 1 commit intodevelopfrom
fix/cuda11

Conversation

@simogasp
Copy link
Copy Markdown
Member

SM86 is available only from 11.1 inwards (https://arnon.dk/matching-sm-architectures-arch-and-gencode-for-various-nvidia-cards/)

On cuda 11.0 that arch is not recognized and it generates an error.

@simogasp simogasp added scope:build cuda issues related to cuda versions bugfix labels Oct 28, 2020
@simogasp simogasp added this to the v1.0.0 milestone Oct 28, 2020
@simogasp simogasp requested a review from griwodz October 28, 2020 17:06
Copy link
Copy Markdown
Member

@griwodz griwodz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't find a confirmation for this restriction on NVidia's pages anywhere, but if sm_86 doesn't work for SDK 11, it's obviously true. :-)

@griwodz griwodz merged commit fafcad9 into develop Oct 29, 2020
@griwodz griwodz deleted the fix/cuda11 branch October 29, 2020 06:59
@griwodz
Copy link
Copy Markdown
Member

griwodz commented Oct 29, 2020

Independently confirmed after all:
https://gitlab.kitware.com/cmake/cmake/-/blob/4f6fccd86174742c2f17aeba1a940be383a3c7df/Modules/FindCUDA/select_compute_arch.cmake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix cuda issues related to cuda versions scope:build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants