mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2024-11-24 14:59:15 +08:00
Adding SM number for Ada Architecture
This commit is contained in:
parent
3d553b2ea1
commit
1c2efac7c8
|
@ -666,6 +666,7 @@ inline int _ConvertSMVer2Cores(int major, int minor) {
|
|||
{0x80, 64},
|
||||
{0x86, 128},
|
||||
{0x87, 128},
|
||||
{0x89, 128},
|
||||
{0x90, 128},
|
||||
{-1, -1}};
|
||||
|
||||
|
@ -714,6 +715,7 @@ inline const char* _ConvertSMVer2ArchName(int major, int minor) {
|
|||
{0x80, "Ampere"},
|
||||
{0x86, "Ampere"},
|
||||
{0x87, "Ampere"},
|
||||
{0x89, "Ada"},
|
||||
{0x90, "Hopper"},
|
||||
{-1, "Graphics Device"}};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user