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

idst0 The index of the tile in DST register buffer to use as first operand

idst1 The index of the tile in DST register buffer to use as second operand

odst The index of the tile in DST register buffer to use as output