square_tile
-
void ckernel::square_tile_init()
-
Please refer to documentation for any_init.
-
template<bool is_fp32_dest_acc_en = DST_ACCUM_MODE, VectorMode vec_mode = VectorMode::RC, int iterations = 8>
void ckernel::square_tile(uint32_t idst)
-
Performs element-wise computation of square value 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
Template Parameter Description
is_fp32_dest_acc_en Whether DST holds 32-bit data
vec_mode The faces to compute (Quasar: RC only)
iterations Number of iterations over 32-SFPU lanes to run (8 = whole face)
Argument Description
idst The index of the tile in DST register buffer to perform the computation on