XAie_SubmitTransaction - 2024.1 English

AI Engine System Software Driver Reference Manual (UG1642)

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

This API executes all the pending I/O operations stored in the command buffer.

The transaction instance returned by the StartTransaction API is tied to the thread ID of the executing context. If TxnInst is NULL, the transaction instance is automatically fetched using the thread ID of the current context. If the TxnInst is not NULL, the transaction instance passed by the user is executed.

Prototype

AieRC XAie_SubmitTransaction(XAie_DevInst *DevInst, XAie_TxnInst *TxnInst);

Parameters

The following table lists the XAie_SubmitTransaction function arguments.

Table 1. XAie_SubmitTransaction Arguments
Type Member Description
XAie_DevInst * DevInst Device instance pointer.
XAie_TxnInst * TxnInst Transaction instance pointer.

Returns

XAIE_OK on success and Error code or failure.