binary_init_funcs

template<bool full_init, EltwiseBinaryType eltwise_binary_type>
void ckernel::binary_tiles_init(uint32_t icb0, uint32_t icb1, bool acc_to_dest = false, uint32_t call_line = __builtin_LINE())

Template for initializing element-wise binary operations. Template parameters: full_init: if true, the full init is performed (unpack+math), otherwise only math init is performed eltwise_binary_type: the binary operation type

Function

Argument Description

icb0 The identifier of the circular buffer (CB) containing A

icb1 The identifier of the circular buffer (CB) containing B

acc_to_dest If true, operation = A [+,-,x] B + dst_tile_idx of *_tiles, depending on the eltwise_binary_type