Intel® oneAPI Math Kernel Library Developer Reference - Fortran

mkl_free

Frees the aligned memory buffer allocated by mkl_malloc/mkl_calloc.

Syntax

call mkl_free( a_ptr )

Fortran Include Files/Modules

Input Parameters

Name

Type

Description

a_ptr

POINTER

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