expm1_tile

template<bool approx = false, bool is_fp32_dest_acc_en = DST_ACCUM_MODE>
void ckernel::expm1_tile_init()

Please refer to documentation for any_init.

template<bool approx = false, bool is_fp32_dest_acc_en = DST_ACCUM_MODE, int iterations = 8>
void ckernel::expm1_tile(uint32_t idst, VectorMode vector_mode = VectorMode::RC)

Performs element-wise computation of exp(x) - 1, v where x is 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

approx Enable approximate mode.

is_fp32_dest_acc_en DST holds FP32 values.

iterations Number of iterations over 32-SFPU lanes to run

Argument Description

idst The index of the tile in DST register buffer to perform the computation on

vector_mode Specifies the vector mode for computation (default: VectorMode::RC)