Intel® Integrated Performance Primitives Developer Guide and Reference

ID 790148
Date 11/07/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

SortRadixGetBufferSize

Computes the size of the buffer for the SortRadixAscend and SortRadixDescend functions.

Syntax

IppStatus ippsSortRadixGetBufferSize(int len, IppDataType dataType, int* pBuffferSize);

IppStatus ippsSortRadixGetBufferSize_L(IppSizeL len, IppDataType dataType, IppSizeL* pBufferSize);

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 of the vector.

pBufferSize

Pointer to the buffer size.

Description

This function calculates the size of the buffer for the ippsSortRadixAscend/ippsSortRadixDescend 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