i0_tile

void ckernel::i0_tile_init()

Please refer to documentation for any_init.

On Wormhole, i0_tile reads series coefficients from the programmable constant registers (vConstFloatPrgm0-2), loaded here; other SFPU inits may overwrite them, so call i0_tile_init again before i0_tile after them. The dest stride comes from the ADDR_MOD_6 invariant: calculate_i0 sets the slot at entry and restores the invariant at exit.

void ckernel::i0_tile(uint32_t idst)

Performs element-wise computation of the zeroth order modified Bessel function of the first kind on each element of a tile in DST register at index tile_index. The DST register buffer must be in acquired state via acquire_dst call. This call is blocking and is only available on the compute engine.

Return value: None

Argument Description

tile_index The index of the tile in DST register buffer to perform the computation on