From 8966e5c8d3397e9e3c4100fd1075c715ee6629b9 Mon Sep 17 00:00:00 2001 From: yuWeiCute <90209141+yuWeiCute@users.noreply.github.com> Date: Sun, 13 Oct 2024 02:41:54 +0800 Subject: [PATCH] Fix typo: Correct 'piepling' to 'pipelining' in kernel comments for clarity in software optimization. (#4897) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR fixes a typo in the comments of the softmax kernel function, where "piepling" was mistakenly used instead of "pipelining". The change ensures that the term accurately reflects the correct meaning of "pipelining" in software stages. ### Checklist - [x] I am not making a trivial change, such as fixing a typo in a comment. - (Note: While this change fixes a typo, it corrects an important technical term—'pipelining'—which is crucial for understanding the kernel's functionality.) - [x] I have written a PR description following these [rules](https://cbea.ms/git-commit/#why-not-how). - [x] I have run `pre-commit run --from-ref origin/main --to-ref HEAD`. - Select one of the following. - [ ] I have added tests. - [x] This PR does not need a test because it only fixes a typo in a comment. - Select one of the following. - [x] I have not added any `lit` tests. - [ ] The `lit` tests I have added follow these [best practices](https://mlir.llvm.org/getting_started/TestingGuide/#filecheck-best-practices), including the "tests should be minimal" section. --- python/tutorials/02-fused-softmax.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tutorials/02-fused-softmax.py b/python/tutorials/02-fused-softmax.py index 359ae3a09176..d08afb1e59d2 100644 --- a/python/tutorials/02-fused-softmax.py +++ b/python/tutorials/02-fused-softmax.py @@ -132,7 +132,7 @@ def softmax(x): # way so you don't have to come up with manual heuristics yourself. num_warps = 8 - # Number of software piepling stages. + # Number of software pipelining stages. num_stages = 4 if SIZE_SMEM > 200000 else 2 # Allocate output