XAie_SetupPartitionConfig - 2024.2 English - UG1642

AI Engine System Software Driver Reference Manual (UG1642)

Document ID
UG1642
Release Date
2024-11-13
Version
2024.2 English

This API is to set up AI Engine partition instance location and size.

Note: If this API is not called, the AI Engine partition instance uses the base address and the number of columns from the device config (XAie_Config), and the start column is 0 by default. This function do not verify the PartBaseAddr, PartStartCol, or the PartNumcols. The PartStartCol and the PartNumCols are validated in XAie_CfgInitialize() . This functions is supposed to be called before XAie_CfgInitialize() .

Prototype

AieRC XAie_SetupPartitionConfig(XAie_DevInst *DevInst, u64 PartBaseAddr, u8 PartStartCol, u8 PartNumCols);

Parameters

The following table lists the XAie_SetupPartitionConfig function arguments.

Table 1. XAie_SetupPartitionConfig Arguments
Type Member Description
XAie_DevInst * DevInst Pointer of AI Engine partition instance
u64 PartBaseAddr Partition base address
u8 PartStartCol Absolute partition start column
u8 PartNumCols Number of columns of the partition

Returns

XAIE_OK