Intel® FPGA SDK for OpenCL™ Pro Edition: Custom Platform Toolkit User Guide

ID 683085
Date 3/28/2022
Public
Document Table of Contents

2.3.21. aocl_mmd_free

Releases memory that was allocated by MMD.

Syntax

int aocl_mmd_free (void* mem);

Function Arguments

mem—The pointer to the memory region. Must be a pointer that is allocated by the MMD.

Return Values

Returns one of the following error code:

  • AOCL_MMD_ERROR_SUCCESS—No error occurred
  • AOCL_MMD_ERROR_INVALID_POINTER—Invalid pointer provided