Intel® oneAPI Math Kernel Library Developer Reference - C

mkl_free

Frees the aligned memory buffer allocated by mkl_malloc/mkl_calloc.

Syntax

void mkl_free (void *a_ptr);

Include Files

Input Parameters

Name

Type

Description

a_ptr

void*

Pointer to the buffer to be freed.

Description

The function frees the buffer pointed by a_ptr and allocated by the mkl_malloc() or mkl_calloc() function and does nothing if a_ptr is NULL.

See Also