removed gfx940 and gfx941 (#1606)

* removed gfx940 and gfx941

* removed gfx940 and gfx941

* Update "gfx94" to "gfx942" in init.cc

* Updated remaining "gfx94" updates to "gfx942"

* Update filenames and variables from gfx940 to gfx942

---------

Co-authored-by: akolliasAMD <akollias@amd.com>

[ROCm/rccl commit: 6505639cf4]
This commit is contained in:
corey-derochie-amd
2025-03-20 09:34:53 -06:00
committed by GitHub
parent a95b2c9fb7
commit e95578ef4c
30 changed files with 74 additions and 79 deletions
+1 -5
View File
@@ -42,10 +42,6 @@ void convertGcnArchToGcnArchName(const char* gcnArch, const char** gcnArchName)
*gcnArchName = "gfx908";
else if (strcmp(gcnArch, "910") == 0)
*gcnArchName = "gfx90a";
else if (strcmp(gcnArch, "940") == 0)
*gcnArchName = "gfx940";
else if (strcmp(gcnArch, "941") == 0)
*gcnArchName = "gfx941";
else if (strcmp(gcnArch, "942") == 0)
*gcnArchName = "gfx942";
else if (strcmp(gcnArch, "950") == 0)
@@ -65,7 +61,7 @@ int GetGcnArchName(int deviceId, char* out) {
double GetDeviceWallClockRateInKhz(int deviceId) {
char gcn[256];
GetGcnArchName(deviceId, gcn);
if (strncmp("gfx94", gcn, 5) == 0)
if (strncmp("gfx942", gcn, 6) == 0)
return 1.0E5;
else if(strncmp("gfx950", gcn, 6) == 0)
return 1.0E5;