mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-04-10 10:12:11 +01:00
Adding suport for Blackwell
This commit is contained in:
parent
e8a041d783
commit
78f83ca02d
@ -668,6 +668,9 @@ inline int _ConvertSMVer2Cores(int major, int minor) {
|
|||||||
{0x87, 128},
|
{0x87, 128},
|
||||||
{0x89, 128},
|
{0x89, 128},
|
||||||
{0x90, 128},
|
{0x90, 128},
|
||||||
|
{0xa0, 128},
|
||||||
|
{0xa1, 128},
|
||||||
|
{0xc0, 128},
|
||||||
{-1, -1}};
|
{-1, -1}};
|
||||||
|
|
||||||
int index = 0;
|
int index = 0;
|
||||||
@ -717,6 +720,9 @@ inline const char* _ConvertSMVer2ArchName(int major, int minor) {
|
|||||||
{0x87, "Ampere"},
|
{0x87, "Ampere"},
|
||||||
{0x89, "Ada"},
|
{0x89, "Ada"},
|
||||||
{0x90, "Hopper"},
|
{0x90, "Hopper"},
|
||||||
|
{0xa0, "Blackwell"},
|
||||||
|
{0xa1, "Blackwell"},
|
||||||
|
{0xc0, "Blackwell"},
|
||||||
{-1, "Graphics Device"}};
|
{-1, "Graphics Device"}};
|
||||||
|
|
||||||
int index = 0;
|
int index = 0;
|
||||||
|
@ -116,6 +116,9 @@ inline int _ConvertSMVer2CoresDRV(int major, int minor) {
|
|||||||
{0x87, 128},
|
{0x87, 128},
|
||||||
{0x89, 128},
|
{0x89, 128},
|
||||||
{0x90, 128},
|
{0x90, 128},
|
||||||
|
{0xa0, 128},
|
||||||
|
{0xa1, 128},
|
||||||
|
{0xc0, 128},
|
||||||
{-1, -1}};
|
{-1, -1}};
|
||||||
|
|
||||||
int index = 0;
|
int index = 0;
|
||||||
@ -405,4 +408,3 @@ bool inline findFatbinPath(const char *module_file, std::string &module_path, ch
|
|||||||
// end of CUDA Helper Functions
|
// end of CUDA Helper Functions
|
||||||
|
|
||||||
#endif // COMMON_HELPER_CUDA_DRVAPI_H_
|
#endif // COMMON_HELPER_CUDA_DRVAPI_H_
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user