Skip to content

Commit

Permalink
Added missing entries in ConvertSMVer2Cores()
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoLevy committed Nov 26, 2024
1 parent 165eb7e commit 5612a94
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/geogram/NL/nl_cuda.c
Original file line number Diff line number Diff line change
Expand Up @@ -708,13 +708,16 @@ static int ConvertSMVer2Cores(int major, int minor) {
{ 0x30, 192}, /* Kepler Generation (SM 3.0) GK10x class */
{ 0x32, 192}, /* Kepler Generation (SM 3.0) */
{ 0x35, 192}, /* Kepler Generation (SM 3.5) GK11x class */
{ 0x37, 192},
{ 0x50, 128}, /* Maxwell Generation (SM 5.0) GM10x class
(yes, #cores smaller than with 3.x) */
{ 0x52, 128}, /* Maxwell Generation (SM 5.2) GM20x class */
{ 0x53, 128},
{ 0x60, 64 }, /* Pascal Generation (SM 6.0) GP100,GP102
(yes, 64, but GP100 has superfast double precision) */
{ 0x61, 128}, /* Pascal Generation (SM 6.1) GP104 class
(but FP64 runs as 1/32 FP32 speed) */
{ 0x62, 128},
{ 0x70, 64 }, /* Volta Generation (SM 7.0)
yes, nb cores decreased in SM 7.x */
{ 0x72, 64 }, /* Volta Generation (SM 7.2) */
Expand Down

0 comments on commit 5612a94

Please sign in to comment.