fill_tile
-
void ckernel::fill_tile_init()
-
Please refer to documentation for any_init.
-
void ckernel::fill_tile(uint32_t idst, float param0)
-
Performs element-wise fill operation. The value to be filled in the tile is provided as const param0. 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
param0 Value to fill tile with.
-
template<DataFormat DATA_FORMAT>
void ckernel::fill_tile_int(uint32_t idst, uint32_t param0)
-
Performs element-wise fill operation. The value to be filled in the tile is provided as const param0. 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
param0 Value to fill tile with (unsigned integer)
- Template Parameters:
-
data_formatTemplate argument specifying the data type. Supported data formats are: DataFormat::Int32, DataFormat::UInt32, DataFormat::UInt16.
-
void ckernel::fill_tile_bitcast(uint32_t idst, uint32_t param0)
-
Performs element-wise fill operation. The value to be filled in the tile is provided as const param0, which is interpreted as a bit-cast representation of a floating-point value. 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
param0 The bit-cast representation of a floating-point value to be used as output