We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
bin/triton-tensor-layout.cpp
The following changes were made in 816d7ef.
diff --git a/bin/triton-tensor-layout.cpp b/bin/triton-tensor-layout.cpp index 7c635dafa..49a07681e 100644 --- a/bin/triton-tensor-layout.cpp +++ b/bin/triton-tensor-layout.cpp @@ -80,17 +80,9 @@ static cl::opt<std::string> TensorStr( //===--------------------------------------------------------------------===// LogicalResult layoutPrint(RankedTensorType tensorType, raw_ostream &os) { - StringRef dialectName = tensorType.getEncoding().getDialect().getNamespace(); - // Dispatch to the corresponding dialect helper function to print the layout. - if (dialectName == "ttg") { - os << triton::gpu::getLayoutStr(tensorType, UseHWPointOfView); - return success(); - } - - llvm::errs() << "Unsupported tensor layout attribute: " - << tensorType.getEncoding() << "\n"; - return failure(); + os << triton::gpu::getLayoutStr(tensorType, UseHWPointOfView); + return success(); }
The text was updated successfully, but these errors were encountered:
The upstream PR triton-lang/triton#5444
Sorry, something went wrong.
Merged in #3023.
chengjunlu
No branches or pull requests
The following changes were made in 816d7ef.
The text was updated successfully, but these errors were encountered: