diff --git a/src/target/source/codegen_cuda.cc b/src/target/source/codegen_cuda.cc index e54acd2221d1..cd02dcc7abbc 100644 --- a/src/target/source/codegen_cuda.cc +++ b/src/target/source/codegen_cuda.cc @@ -759,7 +759,7 @@ void CodeGenCUDA::VisitStmt_(const EvaluateNode* op) { } void CodeGenCUDA::VisitExpr_(const RampNode* op, std::ostream& os) { - os << "((make_int" << op->lanes << ")("; + os << "(make_int" << op->lanes << "("; for (int i = 0; i < op->lanes; i++) { os << "(" << PrintExpr(op->base) << ")" << "+(" << PrintExpr(op->stride) << "*" << i << ")";