Developer Reference

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

vslConvSetMode
/
vslCorrSetMode

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

Syntax

status
=
vslconvsetmode
(
task
,
newmode
)
status
=
vslcorrsetmode
(
task
,
newmode
)
Include Files
  • mkl.fi
    ,
    mkl_vsl.f90
Input Parameters
Name
Type
Description
task
FORTRAN 77:
INTEGER*4 task(2)
for
vslconvsetmode
INTEGER*4 task(2)
for
vslcorrsetmode
Fortran 90:
TYPE(VSL_CONV_TASK)
for
vslconvsetmode
TYPE(VSL_CORR_TASK)
for
vslcorrsetmode
Pointer to the task descriptor.
newmode
FORTRAN 77:
INTEGER
Fortran 90:
INTEGER
New value of the parameter
mode
.
Output Parameters
Name
Type
Description
status
FORTRAN 77:
INTEGER
Fortran 90:
INTEGER
Current status of the task.
Description
This function is declared
in
mkl_vsl.f90
for the Fortran interface
.
The function routine changes the value of the parameter
mode
for the operation of convolution or correlation. This parameter defines whether the computation should be done via Fourier transforms of the input/output data or using a direct algorithm. Initial value for
mode
is assigned by a task constructor.
Predefined values for the
mode
parameter are as follows:
Values of
mode
parameter
Value
Purpose
VSL_CONV_MODE_FFT
Compute convolution by using fast Fourier transform.
VSL_CORR_MODE_FFT
Compute correlation by using fast Fourier transform.
VSL_CONV_MODE_DIRECT
Compute convolution directly.
VSL_CORR_MODE_DIRECT
Compute correlation directly.
VSL_CONV_MODE_AUTO
Automatically choose direct or Fourier mode for convolution.
VSL_CORR_MODE_AUTO
Automatically choose direct or Fourier mode for correlation.

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