-
Notifications
You must be signed in to change notification settings - Fork 99
Added support for gfx950 architecture platform #2850
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop-upstream
Are you sure you want to change the base?
Changes from all commits
ed6bf74
c928bb2
8c466e5
8223663
6806677
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -116,7 +116,8 @@ bool HasFastFP16Support(const DeviceProperties& props) { | |
| #elif TENSORFLOW_USE_ROCM | ||
| absl::flat_hash_set<std::string> FP16SupportedDevices = { | ||
| {"gfx906"}, {"gfx908"}, {"gfx90a"}, {"gfx910"}, {"gfx940"}, {"gfx941"}, | ||
| {"gfx942"}, {"gfx1010"}, {"gfx1012"}, {"gfx1030"}, | ||
| {"gfx942"}, {"gfx950"}, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is there any gfx that is not listed here at this point? Should we just return true? |
||
| {"gfx1010"}, {"gfx1012"}, {"gfx1030"}, | ||
| {"gfx1100"}, {"gfx1101"}, {"gfx1102"}, | ||
| {"gfx1200"}, {"gfx1201"} | ||
| }; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -340,7 +340,8 @@ std::string MapGCNArchNameTokenToFeatureStr(const std::string& token, | |
| return "+sramecc"; | ||
| } else if (token == "sramecc-") { | ||
| if (gfx == "gfx90a" || gfx == "gfx940" || gfx == "gfx941" || | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we should remove this? This was a workaround for one specific machine. Albeit we might just do it unconditionally. |
||
| gfx == "gfx942" || gfx == "gfx1101" || gfx == "gfx1102" || | ||
| gfx == "gfx942" || gfx == "gfx950" || | ||
| gfx == "gfx1101" || gfx == "gfx1102" || | ||
| gfx == "gfx1200" || gfx == "gfx1201") | ||
| return ""; | ||
| return "-sramecc"; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are these changes needed?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted it. I added this to fix CI build, however it is only use for locally build. I may merge in separate PR if required