Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 3/22/2024
Public
Document Table of Contents

vslConvDeleteTask/vslCorrDeleteTask

Destroys the task object and frees the memory.

Syntax

errcode = vslconvdeletetask(task)

errcode = vslcorrdeletetask(task)

Include Files

  • mkl.fi, mkl_vsl.f90

Input Parameters

Name

Type

Description

task

INTEGER*4 task(2) for vslcorrdeletetask

TYPE(VSL_CONV_TASK) for vslconvdeletetask

TYPE(VSL_CORR_TASK) for vslcorrdeletetask

Pointer to the task descriptor.

Output Parameters

Name

Type

Description

errcode

INTEGER

Contains 0 if the task object is deleted successfully. Contains an error code if an error occurred.

Description

The vslConvDeleteTask/vslCorrvDeleteTask routine deletes the task descriptor object and frees any working memory and the memory allocated for the data structure. The task pointer is set to NULL.

Note that if the vslConvDeleteTask/vslCorrvDeleteTask routine does not delete the task successfully, the routine returns an error code. This error code has no relation to the task status code and does not change it.

NOTE:

You can use the NULL task pointer in calls to destructor routines. In this case, the routine terminates with no system crash.