Skip to content

Commit

Permalink
Fix typos (#8459)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexreinking authored Nov 5, 2024
1 parent 9ba1829 commit 72749c5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Reduction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@ ReductionDomain::ReductionDomain(const std::vector<ReductionVariable> &domain)
contents->domain = domain;
}

ReductionDomain::ReductionDomain(const std::vector<ReductionVariable> &domain, const Expr &predictate, bool frozen)
ReductionDomain::ReductionDomain(const std::vector<ReductionVariable> &domain, const Expr &predicate, bool frozen)
: contents(new ReductionDomainContents) {
contents->domain = domain;
contents->predicate = predictate;
contents->predicate = predicate;
contents->frozen = frozen;
}

Expand Down
2 changes: 1 addition & 1 deletion src/Reduction.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class ReductionDomain {
* for more details. */
void where(Expr predicate);

/** Return the predicate defined on this reducation demain. */
/** Return the predicate defined on this reduction domain. */
Expr predicate() const;

/** Set the predicate, replacing any previously set predicate. */
Expand Down
2 changes: 1 addition & 1 deletion src/Schedule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ void destroy<FuncScheduleContents>(const FuncScheduleContents *p) {
delete p;
}

/** A schedule for a sigle halide stage_index, which defines where, when, and
/** A schedule for a single halide stage_index, which defines where, when, and
* how it should be evaluated. */
struct StageScheduleContents {
mutable RefCount ref_count;
Expand Down

0 comments on commit 72749c5

Please sign in to comment.