Skip to content

Commit

Permalink
fix switch case 32
Browse files Browse the repository at this point in the history
  • Loading branch information
SerodioJ committed Nov 26, 2024
1 parent ec4b856 commit 901c37e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/target/source/codegen_cuda.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1413,6 +1413,9 @@ inline void PrintConst(const FloatImmNode* op, std::ostream& os, CodeGenCUDA* p)
} else {
temp << std::scientific << op->value << 'f';
}
p->MarkConst(temp.str());
os << temp.str();
break;
}
case 16: {
os << "__float2half_rn" << '(';
Expand Down

0 comments on commit 901c37e

Please sign in to comment.