gcd_tile
-
void ckernel::gcd_tile_init()
-
Please refer to documentation for any_init.
-
void ckernel::gcd_tile(uint32_t idst0, uint32_t idst1, uint32_t odst)
-
Performs an elementwise GCD operation on two inputs: y = gcd(x0, x1). Both inputs must be int32. 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