XAie_ExportSerializedTransaction - 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 copies an existing transaction instance and returns a copy of the instance with all the commands for users to save the commands and use them at a later point.

Prototype

u8 * XAie_ExportSerializedTransaction(XAie_DevInst *DevInst, u8 NumConsumers, u32 Flags);

Parameters

The following table lists the XAie_ExportSerializedTransaction function arguments.

Table 1. XAie_ExportSerializedTransaction Arguments
Type Member Description
XAie_DevInst * DevInst Device instance pointer.
u8 NumConsumers Number of consumers for the generated transactions (Unused for now)
u32 Flags Flags (Unused for now)

Returns

Pointer to copy of transaction instance on success and NULL on error.