Skip to content

Commit 1c2efac

Browse files
committed
Adding SM number for Ada Architecture
1 parent 3d553b2 commit 1c2efac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Common/helper_cuda.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,7 @@ inline int _ConvertSMVer2Cores(int major, int minor) {
666666
{0x80, 64},
667667
{0x86, 128},
668668
{0x87, 128},
669+
{0x89, 128},
669670
{0x90, 128},
670671
{-1, -1}};
671672

@@ -714,6 +715,7 @@ inline const char* _ConvertSMVer2ArchName(int major, int minor) {
714715
{0x80, "Ampere"},
715716
{0x86, "Ampere"},
716717
{0x87, "Ampere"},
718+
{0x89, "Ada"},
717719
{0x90, "Hopper"},
718720
{-1, "Graphics Device"}};
719721

0 commit comments

Comments
 (0)