[DOCS] Correct spelling (#665)

This PR corrects spelling like #664 for Triton-MLIR. It should not break anything.
This commit is contained in:
Shintaro Iwasaki
2022-09-16 15:07:34 -07:00
committed by GitHub
parent e9e1a4e682
commit 13669b46a6
13 changed files with 21 additions and 21 deletions

View File

@@ -44,7 +44,7 @@ class PTXInstrExecution;
//
// builder.getAllMlirArgs() // get {pVal, iVal, jVal, kVal}
//
// To get the string containing all the contraints with "," seperated,
// To get the string containing all the constraints with "," separated,
// builder.getConstraints() // get "=r,r,k"
//
// PTXBuilder can build a PTX asm with multiple instructions, sample code:
@@ -107,10 +107,10 @@ struct PTXBuilder {
// Create a new operand. It will not add to operand list.
// @value: the MLIR value bind to this operand.
// @constraint: ASM operand constraint, .e.g. "=r"
// @formater: extra format to represent this operand in ASM code, default is
// "%{0}".format(operand.idx).
// @formatter: extra format to represent this operand in ASM code, default is
// "%{0}".format(operand.idx).
Operand *newOperand(mlir::Value value, StringRef constraint,
std::function<std::string(int idx)> formater = nullptr);
std::function<std::string(int idx)> formatter = nullptr);
// Create a new operand which is written to, that is, the constraint starts
// with "=", e.g. "=r".