Skip to content

Commit

Permalink
fixed pylint errors in python files and used clang format to format t…
Browse files Browse the repository at this point in the history
…he cpp files
  • Loading branch information
sdalvi-quic committed Jul 23, 2024
1 parent 3534623 commit d7c7e22
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 100 deletions.
2 changes: 1 addition & 1 deletion include/tvm/tir/transform.h
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ TVM_DLL Pass InstrumentProfileIntrinsics();
TVM_DLL Pass DefaultGPUSchedule();

/*!
* \brief This pass analyzes primfunc and eliminates branch introdued due to layout specific padding.
* \brief This pass analyzes primfunc & eliminates branch introdued due to layout specific padding.
* It leverages from the buffer assumptions and use the information to eliminate the branch.
* \note This creates more opportunity to vectorize the code.
* \return The Pass.
Expand Down
2 changes: 1 addition & 1 deletion src/tir/transforms/using_assume_to_reduce_branches.cc
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class ParseAssumeAndOvercompute : public IRMutatorWithAnalyzer {
for (...)
T.assume( assume_condition or A[i] == 0 )
for (...)
out = T.if_then_else(if_then_else_condition, 0, function(A))
out = T.if_then_else(if_then_else_condition, 0, function(A))
# here function(A) is some function on Var A
Prim Func After :
Expand Down
Loading

0 comments on commit d7c7e22

Please sign in to comment.