bitwise_and_tile
-
void ckernel::bitwise_and_tile_init()
-
Please refer to documentation for any_init.
-
template<DataFormat data_format>
void ckernel::bitwise_and_tile(uint32_t idst, uint32_t param0)
-
Performs an element-wise bitwise AND between each element of a tile in the DST register at index idst and an immediate scalar param0: y = x & param0. The input must be of integer data type: Int32, UInt32, or UInt16. Output overwrites the input tile in DST. 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
Type
Valid Range
Required
idst
The index of the tile in DST register buffer to perform the computation on
uint32_t
Must be less than the size of the DST register buffer
True
param0
The scalar second operand of the bitwise operation
uint32_t
True