Intel® Integrated Performance Primitives (Intel® IPP) Developer Guide and Reference
SortRadixIndexGetBufferSize
Computes the size of the buffer for the SortRadixIndexAscend and SortRadixIndexDescend functions.
Syntax
IppStatus ippsSortRadixIndexGetBufferSize(int len, IppDataType dataType, int* pBufSize);
IppStatus ippsSortRadixIndexGetBufferSize_L(IppSizeL len, IppDataType dataType, IppSizeL* pBufSize);
Include Files
ipps.h
Flavors with the _L suffix: ipps_l.h
Domain Dependencies
Headers: ippcore.h, ippvm.h
Libraries: ippcore.lib, ippvm.lib
Parameters
len |
Number of elements in the vector |
dataType |
Data type pf the vector. |
pBufSize |
Pointer to the buffer size. |
Description
This function calculates the size of the buffer for the ippsSortRadixIndexAscend`/:ref:`ippsSortRadixIndexDescend <c_sortradixindexascend-sortradixindexdescend> functions.
Return Values
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when pBufSize is NULL. |
ippStsSizeErr |
Indicates an error when len is less than, or equal to 0. |
ippStsDataTypeErr |
Indicates an error when the dataType value is not supported. |
See Also
SortRadixIndexAscend SortRadixIndexDescend Indirectly sorts all elements of a vector using radix sorting algorithm.