plp_cosine_distance_instance_f32
Instance structure for float parallel cosine distance. More...
#include <plp_math.h>
Public Attributes
Name | |
---|---|
const float32_t * | pSrcA |
const float32_t * | pSrcB |
uint32_t | blkSizePE |
uint32_t | nPE |
float32_t * | resBuffer_A |
float32_t * | resBuffer_B |
float32_t * | resBuffer_dot |
Detailed Description
struct plp_cosine_distance_instance_f32;
Instance structure for float parallel cosine distance.
Parameters:
- pSrcA points to the first input vector
- pSrcB points to the second input vector
- blkSizePE number of samples in each vector
- nPE number of parallel processing units
- resBuffer_A pointer to the powerA result buffer
- resBuffer_B pointer to the powerB result buffer
- resBuffer_dot pointer to the dot_prod result buffer
Public Attributes Documentation
variable pSrcA
const float32_t * pSrcA;
variable pSrcB
const float32_t * pSrcB;
variable blkSizePE
uint32_t blkSizePE;
variable nPE
uint32_t nPE;
variable resBuffer_A
float32_t * resBuffer_A;
variable resBuffer_B
float32_t * resBuffer_B;
variable resBuffer_dot
float32_t * resBuffer_dot;
Updated on 2023-03-01 at 16:16:31 +0000