log_tile
-
template<bool fast_and_approx = false, bool is_fp32_dest_acc_en = DST_ACCUM_MODE>
void ckernel::log_tile_init()
-
Please refer to documentation for any_init.
-
template<bool fast_and_approx = false, bool is_fp32_dest_acc_en = DST_ACCUM_MODE>
void ckernel::log_tile(uint32_t idst)
-
Performs element-wise computation of logarithm 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.
Note: The base scale is the bit representation of the inverse of the log base. e.g. 1/ln(2) for log2(x) is 0x3fb8aa3b.
Return value: None
Argument Description
idst The index of the tile in DST register buffer to perform the computation on