Developer Reference for Intel® Integrated Performance Primitives
Initializes pDstValue and pDstIndex arrays for the ippsTopK function.
IppStatus ippsTopKInit_32s(Ipp32s* pDstValue, Ipp64s* pDstIndex, Ipp64s dstLen);
ipps.h
Headers: ippcore.h, ippvm.h
Libraries: ippcore.lib, ippvm.lib
pDstValue |
Pointer to an array with maximum values found by the TopK function. |
pDstIndex |
Pointer to an array with indexes of maximum values found by the TopK function. |
dstLen |
Number of K values to be returned, the function returns min(K, dstLen) elements. |
This function initializes the pDstValue array with minimal values and pDstIndex with -1 value.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when at least one of the pointers is NULL. |
ippStsSizeErr |
Indicates an error when at least one of the dstLen values is less than, or equal to zero. |