We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de0bff8 commit 0b24cbfCopy full SHA for 0b24cbf
src/target/source/codegen_cuda.cc
@@ -759,7 +759,7 @@ void CodeGenCUDA::VisitStmt_(const EvaluateNode* op) {
759
}
760
761
void CodeGenCUDA::VisitExpr_(const RampNode* op, std::ostream& os) {
762
- os << "((make_int" << op->lanes << ")(";
+ os << "(make_int" << op->lanes << "(";
763
for (int i = 0; i < op->lanes; i++) {
764
os << "(" << PrintExpr(op->base) << ")"
765
<< "+(" << PrintExpr(op->stride) << "*" << i << ")";
0 commit comments