|
xaiefal
|
Data Structures | |
| struct | AieRscMap |
| Structure containing resource bitmaps and relevant information. More... | |
| class | Logger |
| class | XAieActiveCycles |
| class | XAieBroadcast |
| class for broadcast channel resource. A broadcast channel resource represents a broadcast channel between specified tiles. More... | |
| class | XAieComboEvent |
| AI engine combo event resource class. More... | |
| class | XAieDev |
| AI engine device class. It defines AI engine device operations. More... | |
| class | XAieDevHandle |
| AI engine low level device pointer handle. More... | |
| class | XAieDevHdRscGroupWrapper |
| AI engine device handle resource group wrapper. More... | |
| class | XAieGroupEvent |
| class for group event resource More... | |
| class | XAieGroupEventHandle |
| class for group event resource reference More... | |
| class | XAieMdmPerfCounter |
| class for uC MDM Perfcounter resource. More... | |
| class | XAieMod |
| AI enigne module. It defines AI engine module operations. such as get resource within a module. More... | |
| class | XAiePCEvent |
| AI engine PC event resource class. More... | |
| class | XAiePCRange |
| AI engine PC addresses range resource class. More... | |
| class | XAiePerfCounter |
| class for Perfcounter resource. Each perfcounter resources contains the resource ID of in a module of a tile, start, stop, and reset events, and counter value for the counter event. If there is not enough perfcounter of the specified module, it will check if there is counter available from the adjacent module if it is core tile. If there is available counter in the adjacent module of the same tile, broadcast channels within the tile of the start/stop/reset events will be reserved. More... | |
| class | XAieRsc |
| Base AI engine resource class. It defines resource operations and maintains resource state machine. More... | |
| struct | XAieRscGetRscsWrapper |
| class | XAieRscGroupAvail |
| class to runtime resources functional group Each element in the group is a resource. More... | |
| class | XAieRscGroupBase |
| base class to resources functional group More... | |
| class | XAieRscGroupRuntime |
| class to runtime resources functional group Each element in the group is a resource. More... | |
| class | XAieRscGroupStatic |
| class to statically allocated resources group Each element in the group is a resource. More... | |
| class | XAieRscMgr |
| Resource Manager class. More... | |
| class | XAieRscMgrBackend |
| Resource Manager Backend Base class. More... | |
| class | XAieRscMgrGeneric |
| Resource Manager Backend Generic Class. More... | |
| struct | XAieRscStat |
| struct of resource usage statistics More... | |
| struct | XAieRscState |
| class | XAieSingleTileRsc |
| class of resource of a single tile More... | |
| class | XAieStallCycles |
| class | XAieStallOccurrences |
| class for number of stall occurences More... | |
| class | XAieStreamPortSelect |
| class for stream port select resource There are limited numter of ports events, in order to generate events for stream port status, applicaiton needs to reserve a stream port select resource first. More... | |
| class | XAieTile |
| AI enigne tile. It defines AI engine tile operations. such as get resource within a tile, or get a module. More... | |
| class | XAieTraceCntr |
| Trace Event resource class. More... | |
| class | XAieTraceEvent |
| Trace event resource class. Each event to trace is presented as a trace event resource class. More... | |
| class | XAieTracing |
| class of AI engine event tracing. An XAieTracing object contains AI engine trace control and events to trace. More... | |
| class | XAieUserEvent |
| AI engine user event resource class. More... | |
| struct | XAieUserRsc |
| Data needed to make a resource request. More... | |
| struct | XAieUserRscStat |
| Data needed to make resource statistics request. More... | |
Typedefs | |
| typedef std::vector< std::bitset< 32 > > | XAieRscBitmap |
| Vector of 32 bit bitsets used to represent resource bitmaps. | |
| typedef std::vector< std::pair< XAie_ModuleType, uint32_t > > | XAieRscMaxRsc |
| Type to hold max resources per module given tile type. | |
Enumerations | |
| enum class | LogLevel { FAL_DEBUG , FAL_INFO , FAL_WARN , FAL_ERROR , FAL_MAX } |
| enum | XAieRscType { XAIE_PERFCOUNT = 0U , XAIE_USEREVENT , XAIE_TRACECTRL , XAIE_PCEVENT , XAIE_SSEVENT , XAIE_BROADCAST , XAIE_COMBOEVENT , XAIE_GROUPEVENT , XAIE_MDMPERFCNT , XAIE_MAXRSC , XAIE_TRACEEVENT = 0x100U } |
| Enums representing all requestable resources. More... | |
| enum | XAieRscBitmapType { XAIE_STATIC_RSC , XAIE_AVAIL_RSC } |
Functions | |
| static XAie_ModuleType | XAieEstimateModFromEvent (XAie_Events Event) |
| file | xaiefal-rsc-base.hpp Base classes for AI engine resources management |
| typedef std::vector<std::bitset<32> > xaiefal::XAieRscBitmap |
Vector of 32 bit bitsets used to represent resource bitmaps.
| typedef std::vector<std::pair<XAie_ModuleType, uint32_t> > xaiefal::XAieRscMaxRsc |
Type to hold max resources per module given tile type.
|
strong |
| enum xaiefal::XAieRscType |
|
inlinestatic |
This function returns the estimated module type of an AI enigne event enum value.
| Event | input event enum |
Please note that this funciton will not check if the input event is valid or not, it will returns the estimated module type of the event.