Function tvm::ceildiv#
Defined in File op.h
Function Documentation#
-
PrimExpr tvm::ceildiv(PrimExpr a, PrimExpr b, Location loc = UnknownLoc())#
compute ceil(a / b)
Note
this function does eager constant folding for index types(int32, int64) when possible.
- Parameters:
a – left operand
b – right operand
loc – The location of this operation in the source.
- Returns:
The result expression.