[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

@@ -20,10 +20,10 @@ std::string strJoin(llvm::ArrayRef<std::string> strs,
PTXInstr::Operand *
PTXBuilder::newOperand(mlir::Value value, StringRef constraint,
std::function<std::string(int)> formater) {
std::function<std::string(int)> formatter) {
argArchive.emplace_back(std::make_unique<Operand>(value, constraint));
auto *opr = argArchive.back().get();
opr->repr = formater;
opr->repr = formatter;
opr->idx = oprCounter++;
return opr;
}

View File

@@ -25,7 +25,7 @@ class LoopPipeliner {
/// cache forOp we are working on
scf::ForOp forOp;
/// cahce YieldOp for this forOp
/// cache YieldOp for this forOp
scf::YieldOp yieldOp;
/// loads to be pipelined

View File

@@ -103,7 +103,7 @@ static bool find_and_replace(std::string &str, const std::string &begin,
std::string path_to_ptxas(int &version) {
std::vector<std::string> rets;
std::string ret;
// search pathes for ptxas
// search paths for ptxas
std::vector<std::string> ptxas_prefixes = {"", "/usr/local/cuda/bin/"};
std::string triton_ptxas = tools::getenv("TRITON_PTXAS_PATH");
if (!triton_ptxas.empty())