Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches

◆ nrf_axon_xpy_24_24_24()

nrf_axon_result_e nrf_axon_xpy_24_24_24 ( const int32_t * x_ptr,
const int32_t * y_ptr,
int32_t * out_ptr,
uint16_t length,
uint8_t rounding_bits,
nrf_axon_syncmode_blocking_e block_mode,
bool keep_reservation )

"Xpy"=>"X Plus Y " vector adds vector X and vector Y.

Parameters
x_ptrx vector input. 24bit integers unpacked.
y_ptry vector input. 24bit integers unpacked.
out_ptroutput vector. 24bit integers unpacked, no extra stride, and rounded by rounding_bits. output can overlap either or both inputs.
lengthNumber of elements in the vectors (data samples). Must be a multiple of 2, at least 4, and no greater than 512. Does not include the stride.
rounding_bitsNumber of bits to round the output by. 0 => no rounding, maximum of 31.
Returns
kAxonResultSuccess on success or a negative error code (see nrf_axon_result_e)