Skip to content
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

register gfx12xx #90

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions xla/stream_executor/device_description.h
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ class RocmComputeCapability {

bool gfx11_rx7900() const { return gfx_version() == "gfx1100"; }

bool gfx1200() const { return gfx_version() == "gfx1200"; }

bool gfx1201() const { return gfx_version() == "gfx1201"; }

bool has_nhwc_layout_support() const { return gfx9_mi100_or_later(); }

bool has_bf16_dtype_support() const { return gfx9_mi100_or_later(); }
Expand All @@ -227,9 +231,9 @@ class RocmComputeCapability {
return gfx_version() != "gfx900" && gfx_version() != "gfx906";
}

bool has_hipblaslt() const { return gfx9_mi200_or_later(); }
bool has_hipblaslt() const { return gfx9_mi200_or_later() || gfx1200() || gfx1201(); }

bool has_fp8_support() const { return gfx9_mi300(); }
bool has_fp8_support() const { return gfx9_mi300() || gfx1200() || gfx1201(); }

RocmComputeCapabilityProto ToProto() const {
RocmComputeCapabilityProto proto;
Expand All @@ -251,7 +255,9 @@ class RocmComputeCapability {
"gfx90a", // MI200
"gfx940", "gfx941", "gfx942", // MI300
"gfx1030", // RX68xx / RX69xx
"gfx1100" // RX7900
"gfx1100", // RX7900
"gfx1200",
"gfx1201",
};
};

Expand Down
Loading