Developer Reference for Intel® oneAPI Math Kernel Library for C

ID 766684
Date 11/07/2023
Public

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

Document Table of Contents

mkl_free

Frees the aligned memory buffer allocated by mkl_malloc/mkl_calloc.

Syntax

void mkl_free (void *a_ptr);

Include Files

  • mkl.h

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.