lcm_tile
-
void ckernel::lcm_tile_init()
-
Please refer to documentation for any_init.
-
void ckernel::lcm_tile(uint32_t idst0, uint32_t idst1, uint32_t odst)
-
Performs an elementwise LCM operation on two inputs: y = lcm(x0, x1). Both inputs must be int32 with values constrained to |value| ≤ 2^15-1 (32,767). Output overwrites odst in DST.
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
idst0
The index of the tile in DST register buffer to use as first operand
uint32_t
Must be less than the size of the DST register buffer
True
idst1
The index of the tile in DST register buffer to use as second operand
uint32_t
Must be less than the size of the DST register buffer
True
odst
The index of the tile in DST register buffer to use as output
uint32_t
Must be less than the size of the DST register buffer
True