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

Function _get_threads

python/tvm/topi/gpu/sort.py:32–36  ·  view source on GitHub ↗
(nthread_tx, nthread_bx, nthread_by)

Source from the content-addressed store, hash-verified

30
31
32def _get_threads(nthread_tx, nthread_bx, nthread_by):
33 tx = te.thread_axis("threadIdx.x")
34 bx = te.thread_axis("blockIdx.x")
35 by = te.thread_axis("blockIdx.y")
36 return tx, bx, by, nthread_tx, nthread_bx, nthread_by
37
38
39def _sort_init(shape, axis, keys_in, keys_out, values_out=None, value_init_func=None):

Callers 3

_sort_initFunction · 0.85
_odd_even_sortFunction · 0.85
_sort_commonFunction · 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…