Developer Reference for Intel® oneAPI Math Kernel Library for C

ID 766684
Date 11/07/2023
Public

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

Document Table of Contents

vslConvSetStart/vslCorrSetStart

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

Syntax

status = vslConvSetStart(task, start);

status = vslCorrSetStart(task, start);

Include Files

  • mkl.h

Input Parameters

Name

Type

Description

task

VSLConvTaskPtr for vslConvSetStart

VSLCorrTaskPtr for vslCorrSetStart

Pointer to the task descriptor.

start

const int[]

New value of the parameter start.

Output Parameters

Name

Type

Description

status

int

Current status of the task.

Description

The vslConvSetStart/vslCorrSetStart routine sets the value of the parameter start for the operation of convolution or correlation. In a one-dimensional case, this parameter points to the first element in the mathematical result that should be stored in the output array. In a multidimensional case, start 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 start is undefined and this parameter is not used. Therefore the only way to set and use the start parameter is via assigning it some value by one of the vslConvSetStart/vslCorrSetStart routines.