Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 3/22/2024
Public
Document Table of Contents

mkl_free

Frees the aligned memory buffer allocated by mkl_malloc/mkl_calloc.

Syntax

call mkl_free( a_ptr )

Fortran Include Files/Modules

  • Include file: mkl.fi
  • Module (compiled): mkl_service.mod
  • Module (source): mkl_service.f90

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.