Developer Reference

  • 2020
  • 07/15/2020
  • Public Content
Contents

TopKInit

Initializes
pDstValue
and
pDstIndex
arrays for the
ippsTopK
function.

Syntax

IppStatus ippsTopKInit_32s(Ipp32s*
pDstValue
, Ipp64s*
pDstIndex
, Ipp64s
dstLen
);
Include Files
ipps.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
Libraries:
ippcore.lib
,
ippvm.lib
Parameters
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.
Description
This function initializes the
pDstValue
array with minimal values and
pDstIndex
with -1 value.
Return Values
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.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804