Destroys the task object and frees the memory.
Fortran:
errcode = vslconvdeletetask(task)
errcode = vslcorrdeletetask(task)
C:
errcode = vslConvDeleteTask(task);
errcode = vslCorrDeleteTask(task);
The FORTRAN 77 interfaces are specified in the mkl_vsl.f77 include file, the Fortran 90 interfaces are specified in the mkl_vsl.f90 include file, and the C interfaces are specified in the mkl_vsl_functions.h include file.
Name |
Type |
Description |
---|---|---|
task |
FORTRAN 77: INTEGER*4 task(2) for vslconvdeletetask INTEGER*4 task(2) for vslcorrdeletetask Fortran 90: TYPE(VSL_CONV_TASK) for vslconvdeletetask TYPE(VSL_CORR_TASK) for vslcorrdeletetask C: VSLConvTaskPtr* for vslConvDeleteTask VSLCorrTaskPtr* for vslCorrDeleteTask |
Pointer to the task descriptor. |
Name |
Type |
Description |
---|---|---|
errcode |
FORTRAN 77: INTEGER Fortran 90: INTEGER C: int |
Contains 0 if the task object is deleted successfully. Contains an error code if an error occurred. |
The DeleteTask 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 DeleteTask 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.
You can use the NULL task pointer in calls to destructor routines. In this case, the routine terminates with no system crash.
Copyright © 1994 - 2011, Intel Corporation. All rights reserved.