Skip to content

Commit

Permalink
This patch is to fix some minor typos in project. (#9852)
Browse files Browse the repository at this point in the history
  • Loading branch information
billishyahao authored Jan 6, 2022
1 parent 33724bb commit 818bd48
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions docs/arch/inferbound.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Therefore, let's review the Range and IterVar classes:
public:
Expr min;
Expr extent;
// remainder ommitted
// remainder omitted
};
}}
Expand All @@ -49,7 +49,7 @@ Therefore, let's review the Range and IterVar classes:
public:
Range dom;
Var var;
// remainder ommitted
// remainder omitted
};
}
Expand Down Expand Up @@ -413,7 +413,7 @@ If stage C is computed at axis j of stage D, we say that C is *attached* to ax
class StageNode : public Node {
public:
// ommitted
// omitted
// For compute_at, attach_type = kScope
AttachType attach_type;
Expand All @@ -425,7 +425,7 @@ If stage C is computed at axis j of stage D, we say that C is *attached* to ax
// The stage passed to compute_at, e.g., D
Stage attach_stage;
// ommitted
// omitted
};
Consider the above examples again. In order for InferBound to determine how many elements of C must be computed, it is important to know whether the computation of C occurs within the scope of a leaf variable of D, or above that scope. For example, in Ex. 1, the computation of C occurs *above* the scopes of all of D's leaf variables. In Ex. 2, the computation of C occurs *within* the scope of all of D's leaf variables. In Ex. 3, C occurs within the scope of D's i, but above the scope of D's j.
Expand Down
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def sync_version(pub_ver, local_ver, dry_run):

def main():
logging.basicConfig(level=logging.INFO)
parser = argparse.ArgumentParser(description="Detect and sychnronize version.")
parser = argparse.ArgumentParser(description="Detect and synchronize version.")
parser.add_argument(
"--print-version",
action="store_true",
Expand Down

0 comments on commit 818bd48

Please sign in to comment.