Destroys the task object and releases the memory.
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: TYPE(VSL_SS_TASK) C: VSLSSTaskPtr* |
Descriptor of the task to destroy |
Name |
Type |
Description |
---|---|---|
status |
Fortran: INTEGER C: int |
Sets to VSL_STATUS_OK if the task is deleted; otherwise a non-zero code is returned. |
The DeleteTask routine deletes the task descriptor object, releases the memory allocated for the structure, and sets the task pointer to NULL. If DeleteTask fails to delete the task successfully, it returns an error code.
Call of the destructor with the NULL pointer as the parameter results in termination of the function with no system crash.
Copyright © 1994 - 2010, Intel Corporation. All rights reserved.