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