MCPcopy Create free account
hub / github.com/FlashSampling/FlashSampling / _indicator

Function _indicator

src/fused_mm_sampling/tl_argsort.py:107–110  ·  view source on GitHub ↗
(n_dims: core.constexpr, j: core.constexpr)

Source from the content-addressed store, hash-verified

105
106@triton.jit
107def _indicator(n_dims: core.constexpr, j: core.constexpr):
108 ar = core.arange(0, 2)
109 ar = core.reshape(ar, [1] * (n_dims - j - 1) + [2] + [1] * j)
110 return ar

Callers 2

_bitonic_mergeFunction · 0.85
_compare_and_swapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected