log_with_base_tile
-
template<bool fast_and_approx = false, bool is_fp32_dest_acc_en = DST_ACCUM_MODE>
void ckernel::log_with_base_tile_init()
-
Please refer to documentation for any_init.
-
template<bool fast_and_approx = false, bool base_is_two = false, bool is_fp32_dest_acc_en = DST_ACCUM_MODE>
void ckernel::log_with_base_tile(uint32_t idst, uint32_t base_scale)
-
Performs element-wise computation of logarithm with a specified base 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
Argument Description
idst The index of the tile in DST register buffer to perform the computation on
base_scale Bit representation of Inverse of log base e.g. 1/ln(2) to compute log2(x)