Contents

vslConvSetInternalPrecision
/
vslCorrSetInternalPrecision

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

Syntax

status
=
vslConvSetInternalPrecision
(
task
,
precision
);
status
=
vslCorrSetInternalPrecision
(
task
,
precision
);
Include Files
  • mkl.h
Input Parameters
Name
Type
Description
task
VSLConvTaskPtr
for
vslConvSetInternalPrecision
VSLCorrTaskPtr
for
vslCorrSetInternalPrecision
Pointer to the task descriptor.
precision
const MKL_INT
New value of the parameter
internal_precision
.
Output Parameters
Name
Type
Description
status
int
Current status of the task.
Description
The
vslConvSetInternalPrecision
/
vslCorrSetInternalPrecision
routine changes the value of the parameter
internal_precision
for the operation of convolution or correlation. This parameter defines whether the internal computations of the convolution or correlation result should be done in single or double precision. Initial value for
internal_precision
is assigned by a task constructor and set to either "single" or "double" according to the particular flavor of the constructor used.
Changing the
internal_precision
can be useful if the default setting of this parameter was "single" but you want to calculate the result with double precision even if input and output data are represented in single precision.
Predefined values for the
internal_precision
input parameter are as follows:
Values of
internal_precision
Parameter
Value
Purpose
VSL_CONV_PRECISION_SINGLE
Compute convolution with single precision.
VSL_CORR_PRECISION_SINGLE
Compute correlation with single precision.
VSL_CONV_PRECISION_DOUBLE
Compute convolution with double precision.
VSL_CORR_PRECISION_DOUBLE
Compute correlation with double precision.

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 reservered 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