Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

vslConvNewTask1D/vslCorrNewTask1D

Creates a new convolution or correlation task descriptor for one-dimensional case.

Syntax

status = vslsconvnewtask1d(task, mode, xshape, yshape, zshape)

status = vsldconvnewtask1d(task, mode, xshape, yshape, zshape)

status = vslcconvnewtask1d(task, mode, xshape, yshape, zshape)

status = vslzconvnewtask1d(task, mode, xshape, yshape, zshape)

status = vslscorrnewtask1d(task, mode, xshape, yshape, zshape)

status = vsldcorrnewtask1d(task, mode, xshape, yshape, zshape)

status = vslccorrnewtask1d(task, mode, xshape, yshape, zshape)

status = vslzcorrnewtask1d(task, mode, xshape, yshape, zshape)

Include Files

  • mkl.fi, mkl_vsl.f90

Input Parameters

Name

Type

Description

mode

INTEGER

Specifies whether convolution/correlation calculation must be performed by using a direct algorithm or through Fourier transform of the input data. See Table "Values of mode parameter" for a list of possible values.

xshape

INTEGER

Defines the length of the input data sequence for the source array x. See Data Allocation for more information.

yshape

INTEGER

Defines the length of the input data sequence for the source array y. See Data Allocation for more information.

zshape

INTEGER

Defines the length of the output data sequence to be stored in array z. See Data Allocation for more information.

Output Parameters

Name

Type

Description

task

FORTRAN 77: INTEGER*4 task(2) for vslsconvnewtask1d, vsldconvnewtask1d, vslcconvnewtask1d, vslzconvnewtask1d

INTEGER*4 task(2) for vslscorrnewtask1d, vsldcorrnewtask1d, vslccorrnewtask1d, vslzcorrnewtask1d

TYPE(VSL_CONV_TASK) for vslsconvnewtask1d, vsldconvnewtask1d, vslcconvnewtask1d, vslzconvnewtask1d

TYPE(VSL_CORR_TASK) for vslscorrnewtask1d, vsldcorrnewtask1d, vslccorrnewtask1d, vslzcorrnewtask1d

VSLCorrTaskPtr* for vslsCorrNewTask1D, vsldCorrNewTask1D, vslcCorrNewTask1D, vslzCorrNewTask1D

Pointer to the task descriptor if created successfully or NULL pointer otherwise.

status

INTEGER

Set to VSL_STATUS_OK if the task is created successfully or set to non-zero error code otherwise.

Description

Each vslConvNewTask1D/vslCorrNewTask1D constructor creates a new convolution or correlation task descriptor with the user specified values for explicit parameters. The optional parameters are set to their default values (see Table "Convolution and Correlation Task Parameters"). Unlike vslConvNewTask/vslCorrNewTask, these routines represent a special one-dimensional version of the constructor which assumes that the value of the parameter dims is 1. The parameters xshape, yshape, and zshape are equal to the number of elements read from the arrays x and y or stored to the array z. You explicitly assign the shape parameters when calling the constructor.