XAie_MemDetach - 2024.1 English

AI Engine System Software Driver Reference Manual (UG1642)

Document ID
UG1642
Release Date
2024-05-30
Version
2024.1 English

This is the memory function to detach user allocated memory from the AI Engine partition device instance.

Prototype

AieRC XAie_MemDetach(XAie_MemInst *MemInst);

Parameters

The following table lists the XAie_MemDetach function arguments.

Table 1. XAie_MemDetach Arguments
Type Member Description
XAie_MemInst * MemInst Memory Instance

Returns

XAIE_OK for success, and error code for failure.