Contents

vslConvSetDecimation
/
vslCorrSetDecimation

Changes the value of the parameter
decimation
in the convolution or correlation task descriptor.

Syntax

status
=
vslConvSetDecimation
(
task
,
decimation
);
status
=
vslCorrSetDecimation
(
task
,
decimation
);
Include Files
  • mkl.h
Input Parameters
Name
Type
Description
task
VSLConvTaskPtr
for
vslConvSetDecimation
VSLCorrTaskPtr
for
vslCorrSetDecimation
Pointer to the task descriptor.
decimation
const int[]
New value of the parameter
decimation
.
Output Parameters
Name
Type
Description
status
int
Current status of the task.
Description
The routine sets the value of the parameter
decimation
for the operation of convolution or correlation. This parameter determines how to thin out the mathematical result of convolution or correlation before writing it into the output data array. For example, in a one-dimensional case, if
decimation
=
d
> 1, only every
d
-th element of the mathematical result is written to the output array
z
. In a multidimensional case,
decimation
is an array of indices and its length is equal to the number of dimensions specified by the parameter
dims
. For more information about the definition and effect of this parameter, see Data Allocation .
During the initial task descriptor construction, the default value for
decimation
is undefined and this parameter is not used. Therefore the only way to set and use the
decimation
parameter is via assigning it some value by one of the
vslSetDecimation
routines.

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