Skip to content

Commit 0b24cbf

Browse files
authored
Remove unnecessary bracelet around make_int (#7907)
Turning from `((make_int4)(exp))` to `(make_int4(exp))`. The former case is incompatible with "macro-defined function".
1 parent de0bff8 commit 0b24cbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/target/source/codegen_cuda.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ void CodeGenCUDA::VisitStmt_(const EvaluateNode* op) {
759759
}
760760

761761
void CodeGenCUDA::VisitExpr_(const RampNode* op, std::ostream& os) {
762-
os << "((make_int" << op->lanes << ")(";
762+
os << "(make_int" << op->lanes << "(";
763763
for (int i = 0; i < op->lanes; i++) {
764764
os << "(" << PrintExpr(op->base) << ")"
765765
<< "+(" << PrintExpr(op->stride) << "*" << i << ")";

0 commit comments

Comments
 (0)