mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2026-10-23 21:28:17 +08:00
Adding SM number for Ada Architecture
This commit is contained in:
@@ -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"}};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user