vector offset Kernels
Module: Basic Math Functions / vector offset
Functions
Name | |
---|---|
void | plp_offset_f32s_xpulpv2(const float32_t * pSrc, float32_t offset, float32_t * pDst, uint32_t blockSize) add a constant offset to a vector for 32-bit floats on XpulpV2 |
void | plp_offset_i16s_rv32im(const int16_t * pSrc, int16_t offset, int16_t * pDst, uint32_t blockSize) add a constant offset to a vector for 16-bit integers on RV32IM |
void | plp_offset_i16s_xpulpv2(const int16_t * pSrc, int16_t offset, int16_t * pDst, uint32_t blockSize) add a constant offset to a vector for 16-bit integers on XpulpV2 |
void | plp_offset_i32s_rv32im(const int32_t * pSrc, int32_t offset, int32_t * pDst, uint32_t blockSize) add a constant offset to a vector for 32-bit integers on RV32IM |
void | plp_offset_i32s_xpulpv2(const int32_t * pSrc, int32_t offset, int32_t * pDst, uint32_t blockSize) add a constant offset to a vector for 32-bit integers on XpulpV2 |
void | plp_offset_i8s_rv32im(const int8_t * pSrc, int8_t offset, int8_t * pDst, uint32_t blockSize) add a constant offset to a vector for 8-bit integers on RV32IM |
void | plp_offset_i8s_xpulpv2(const int8_t * pSrc, int8_t offset, int8_t * pDst, uint32_t blockSize) add a constant offset to a vector for 8-bit integers on XpulpV2 |
Detailed Description
Adds a constant offset to each element of a vector. pDst[n] = pSrc[n] + offset, 0 <= n < blockSize.
Functions Documentation
function plp_offset_f32s_xpulpv2
void plp_offset_f32s_xpulpv2(
const float32_t * pSrc,
float32_t offset,
float32_t * pDst,
uint32_t blockSize
)
add a constant offset to a vector for 32-bit floats on XpulpV2
Parameters:
- pSrc points to the input vector
- offset is the offset to be added
- pDst points to the output vector
- blockSize number of samples in each vector
Return: none
function plp_offset_i16s_rv32im
void plp_offset_i16s_rv32im(
const int16_t * pSrc,
int16_t offset,
int16_t * pDst,
uint32_t blockSize
)
add a constant offset to a vector for 16-bit integers on RV32IM
Parameters:
- pSrc points to the input vector
- offset is the offset to be added
- pDst points to the output vector
- blockSize number of samples in each vector
Return: none
function plp_offset_i16s_xpulpv2
void plp_offset_i16s_xpulpv2(
const int16_t * pSrc,
int16_t offset,
int16_t * pDst,
uint32_t blockSize
)
add a constant offset to a vector for 16-bit integers on XpulpV2
Parameters:
- pSrc points to the input vector
- offset is the offset to be added
- pDst points to the output vector
- blockSize number of samples in each vector
Return: none
function plp_offset_i32s_rv32im
void plp_offset_i32s_rv32im(
const int32_t * pSrc,
int32_t offset,
int32_t * pDst,
uint32_t blockSize
)
add a constant offset to a vector for 32-bit integers on RV32IM
Parameters:
- pSrc points to the input vector
- offset is the offset to be added
- pDst points to the output vector
- blockSize number of samples in each vector
Return: none
function plp_offset_i32s_xpulpv2
void plp_offset_i32s_xpulpv2(
const int32_t * pSrc,
int32_t offset,
int32_t * pDst,
uint32_t blockSize
)
add a constant offset to a vector for 32-bit integers on XpulpV2
Parameters:
- pSrc points to the input vector
- offset is the offset to be added
- pDst points to the output vector
- blockSize number of samples in each vector
Return: none
function plp_offset_i8s_rv32im
void plp_offset_i8s_rv32im(
const int8_t * pSrc,
int8_t offset,
int8_t * pDst,
uint32_t blockSize
)
add a constant offset to a vector for 8-bit integers on RV32IM
Parameters:
- pSrc points to the input vector
- offset is the offset to be added
- pDst points to the output vector
- blockSize number of samples in each vector
Return: none
function plp_offset_i8s_xpulpv2
void plp_offset_i8s_xpulpv2(
const int8_t * pSrc,
int8_t offset,
int8_t * pDst,
uint32_t blockSize
)
add a constant offset to a vector for 8-bit integers on XpulpV2
Parameters:
- pSrc points to the input vector
- offset is the offset to be added
- pDst points to the output vector
- blockSize number of samples in each vector
Return: none
Updated on 2023-03-01 at 16:16:32 +0000