remainder_tile

void ckernel::remainder_tile_init(uint32_t param0, uint32_t param1)

Please refer to documentation for any_init.

void ckernel::remainder_tile(uint32_t idst)

Performs element-wise remainder computation on input x by y , where x is each element of a tile in DST register at index tile_index. The input can be of float data type. The denominator is provided to remainder_tile_init and loaded into the SFPU constant registers. 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

Type

Valid Range

Required

idst

The index of the tile in DST register buffer to perform remainder operation

uint32_t

Must be less than the size of the DST register buffer

True