Developer Reference for Intel® oneAPI Math Kernel Library for C

ID 766684
Date 6/24/2024
Public

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

Document Table of Contents

vslSSDeleteTask

Destroys the task object and releases the memory.

Syntax

status = vslSSDeleteTask(&task);

Include Files

  • mkl.h

Input Parameters

Name

Type

Description

task

VSLSSTaskPtr*

Descriptor of the task to destroy

Output Parameters

Name

Type

Description

status

int

Sets to VSL_STATUS_OK if the task is deleted; otherwise a non-zero code is returned.

Description

The vslSSDeleteTask routine deletes the task descriptor object, releases the memory allocated for the structure, and sets the task pointer to NULL. If vslSSDeleteTask fails to delete the task successfully, it returns an error code.

NOTE:

Call of the destructor with the NULL pointer as the parameter results in termination of the function with no system crash.