Visible to Intel only — GUID: GUID-335F01F8-61B7-47AF-8944-80C491507260
Visible to Intel only — GUID: GUID-335F01F8-61B7-47AF-8944-80C491507260
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.
You can use the NULL task pointer in calls to destructor routines. In this case, the routine terminates with no system crash.