Developer Reference for Intel® oneAPI Math Kernel Library for Fortran
vslconvexectaskx / vslcorrexectaskx
Computes convolution or correlation for multidimensional case with the fixed first operand vector.
Syntax
status = vslsconvexecx(task, y, ystride, z, zstride)
status = vsldconvexecx(task, y, ystride, z, zstride)
status = vslcconvexecx(task, y, ystride, z, zstride)
status = vslzconvexecx(task, y, ystride, z, zstride)
status = vslscorrexecx(task, y, ystride, z, zstride)
status = vsldcorrexecx(task, y, ystride, z, zstride)
status = vslccorrexecx(task, y, ystride, z, zstride)
status = vslzcorrexecx(task, y, ystride, z, zstride)
Include Files
mkl.fi, mkl_vsl.f90
Input Parameters
Name |
Type |
Description |
|---|---|---|
task |
Fortran 77: INTEGER*4 task(2) for vslscorrexecx, vsldcorrexecx, vslccorrexecx, vslzcorrexecx and vslsconvexecx, vsldconvexecx, vslcconvexecx, vslzconvexecx Fortran 90: TYPE(VSL_CONV_TASK) for vslsconvexecx, vsldconvexecx, vslcconvexecx, vslzconvexecx Fortran 90: TYPE(VSL_CORR_TASK) for vslscorrexecx, vsldcorrexecx, vslccorrexecx, vslzcorrexecx |
Pointer to the task descriptor. |
x, y |
Fortran 77: REAL*4 for vslsconvexecx and vslscorrexecx, Fortran 77: REAL*8 for vsldconvexecx and vsldcorrexecx, Fortran 77: COMPLEX*8 for vslcconvexecx and vslccorrexecx, Fortran 77: COMPLEX*16 for vslzconvexecx and vslzcorrexecx Fortran 90: REAL(KIND=4), DIMENSION(*) for vslsconvexecx and vslscorrexecx, Fortran 90: REAL(KIND=8), DIMENSION(*) for vsldconvexecx and vsldcorrexecx, Fortran 90: COMPLEX(KIND=4), DIMENSION (*) for vslcconvexecx and vslccorrexecx, Fortran 90: COMPLEX(KIND=8), DIMENSION (*) for vslzconvexecx and vslzcorrexecx |
Pointer to array containing input data (for the second operand vector). See Data Allocation for more information. |
ystride, zstride |
INTEGER, DIMENSION (*) |
Strides for input and output data. For more information, see stride parameters in vslconvnewtaskx/vslcorrnewtaskx. |
Output Parameters
Name |
Type |
Description |
|---|---|---|
z |
Fortran 77: REAL*4 for vslsconvexecx and vslscorrexecx, Fortran 77: REAL*8 for vsldconvexecx and vsldcorrexecx, Fortran 77: COMPLEX*8 for vslcconvexecx and vslccorrexecx, Fortran 77: COMPLEX*16 for vslzconvexecx and vslzcorrexecx Fortran 90: REAL(KIND=4), DIMENSION(*) for vslsconvexecx and vslscorrexecx, Fortran 90: REAL(KIND=8), DIMENSION(*) for vsldconvexecx and vsldcorrexecx, Fortran 90: COMPLEX(KIND=4), DIMENSION (*) for vslcconvexecx and vslccorrexecx, Fortran 90: COMPLEX(KIND=8), DIMENSION (*) for vslzconvexecx and vslzcorrexecx |
Pointer to the array that stores output data. See Data Allocation for more information. |
status |
INTEGER |
Set to VSL_STATUS_OK if the task is executed successfully or set to non-zero error code otherwise. |
Description
Each of the vslconvexectaskx / vslcorrexectaskx routines computes convolution or correlation of the data provided by the arrays x and y and then stores the results in the array z. These routines represent a special version of the operation, which assumes that the first operand vector was set on the task construction stage and the task object keeps the pointer to the array x.
Parameters of the operation are read from the task descriptor created previously by a corresponding vslconvnewtaskx/vslcorrnewtaskx constructor and pointed to by task. If task is NULL, no operation is done.
Using this form of execution routines is recommended when you need to compute multiple convolutions or correlations with the same data vector in array x against different vectors in array y. This helps improve performance by eliminating unnecessary overhead in repeated computation of intermediate data required for the operation.