MCPcopy Create free account
hub / github.com/apache/tvm / ceil_div

Function ceil_div

python/tvm/topi/utils.py:526–528  ·  view source on GitHub ↗

Return ceil division of a by b

(a, b)

Source from the content-addressed store, hash-verified

524
525
526def ceil_div(a, b):
527 """Return ceil division of a by b"""
528 return tvm.tirx.indexdiv(a + (b - 1), b)
529
530
531def swap(arr, axis):

Callers 8

exclusive_scan_irFunction · 0.85
irFunction · 0.85
_sort_initFunction · 0.85
_odd_even_sortFunction · 0.85
_sort_commonFunction · 0.85
irFunction · 0.85
gen_irFunction · 0.85
gen_irFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…