Skip to content

Var Kernels

Module: Statistics Functions / Var

Functions

Name
void plp_var_f32s_xpulpv2(const float restrict pSrc, uint32_t blockSize, float restrict pRes)
Variance value of a 32-bit float vector for XPULPV2 extension.
void plp_var_q16s_rv32im(const int16_t restrict pSrc, uint32_t blockSize, uint32_t fracBits, int16_t restrict pRes)
Variance of a 16-bit fixed point vector for RV32IM extension.
void plp_var_q16s_xpulpv2(const int16_t restrict pSrc, uint32_t blockSize, uint32_t fracBits, int16_t restrict pRes)
Variance of a 16-bit fixed point vector for XPULPV2 extension.
void plp_var_q32s_rv32im(const int32_t restrict pSrc, uint32_t blockSize, uint32_t fracBits, int32_t restrict pRes)
Variance of a 32-bit fixed point vector for RV32IM extension.
void plp_var_q32s_xpulpv2(const int32_t restrict pSrc, uint32_t blockSize, uint32_t fracBits, int32_t restrict pRes)
Variance of a 32-bit fixed point vector for XPULPV2 extension.
void plp_var_q8s_rv32im(const int8_t restrict pSrc, uint32_t blockSize, uint32_t fracBits, int8_t restrict pRes)
Variance of a 8-bit fixed point vector for RV32IM extension.
void plp_var_q8s_xpulpv2(const int8_t restrict pSrc, uint32_t blockSize, uint32_t fracBits, int8_t restrict pRes)
Variance of a 8-bit fixed point vector for XPULPV2 extension.

Functions Documentation

function plp_var_f32s_xpulpv2

void plp_var_f32s_xpulpv2(
    const float *__restrict__ pSrc,
    uint32_t blockSize,
    float *__restrict__ pRes
)

Variance value of a 32-bit float vector for XPULPV2 extension.

Parameters:

  • pSrc points to the input vector
  • blockSize number of samples in input vector
  • pRes variance value returned here

Return: none

Kernel for Statisical variance of a 32-bit float vector.

function plp_var_q16s_rv32im

void plp_var_q16s_rv32im(
    const int16_t *__restrict__ pSrc,
    uint32_t blockSize,
    uint32_t fracBits,
    int16_t *__restrict__ pRes
)

Variance of a 16-bit fixed point vector for RV32IM extension.

Parameters:

  • pSrc points to the input vector
  • blockSize number of samples in input vector
  • pRes variance returned here

Return: none

Statisical variance of a 16-bit fixed point vector for RV32IM extension.

function plp_var_q16s_xpulpv2

void plp_var_q16s_xpulpv2(
    const int16_t *__restrict__ pSrc,
    uint32_t blockSize,
    uint32_t fracBits,
    int16_t *__restrict__ pRes
)

Variance of a 16-bit fixed point vector for XPULPV2 extension.

Parameters:

  • pSrc points to the input vector
  • blockSize number of samples in input vector
  • pRes variance returned here

Return: none

Statisical variance of a 16-bit fixed point vector for XPULPV2 extension.

function plp_var_q32s_rv32im

void plp_var_q32s_rv32im(
    const int32_t *__restrict__ pSrc,
    uint32_t blockSize,
    uint32_t fracBits,
    int32_t *__restrict__ pRes
)

Variance of a 32-bit fixed point vector for RV32IM extension.

Parameters:

  • pSrc points to the input vector
  • blockSize number of samples in input vector
  • pRes Variance returned here

Return: none

Statisical variance of a 32-bit fixed point vector for RV32IM extension.

function plp_var_q32s_xpulpv2

void plp_var_q32s_xpulpv2(
    const int32_t *__restrict__ pSrc,
    uint32_t blockSize,
    uint32_t fracBits,
    int32_t *__restrict__ pRes
)

Variance of a 32-bit fixed point vector for XPULPV2 extension.

Parameters:

  • pSrc points to the input vector
  • blockSize number of samples in input vector
  • pRes variance returned here

Return: none

Statisical variance of a 32-bit fixed point vector for XPULPV2 extension.

function plp_var_q8s_rv32im

void plp_var_q8s_rv32im(
    const int8_t *__restrict__ pSrc,
    uint32_t blockSize,
    uint32_t fracBits,
    int8_t *__restrict__ pRes
)

Variance of a 8-bit fixed point vector for RV32IM extension.

Parameters:

  • pSrc points to the input vector
  • blockSize number of samples in input vector
  • pRes variance returned here

Return: none

Statisical variance of a 8-bit fixed point vector for RV32IM extension.

function plp_var_q8s_xpulpv2

void plp_var_q8s_xpulpv2(
    const int8_t *__restrict__ pSrc,
    uint32_t blockSize,
    uint32_t fracBits,
    int8_t *__restrict__ pRes
)

Variance of a 8-bit fixed point vector for XPULPV2 extension.

Parameters:

  • pSrc points to the input vector
  • blockSize number of samples in input vector
  • pRes variance returned here

Return: none

Statisical variance of a 8-bit fixed point vector for XPULPV2 extension.


Updated on 2023-03-01 at 16:16:32 +0000