7#include <xaiefal/common/xaiefal-common.hpp>
8#include <xaiefal/common/xaiefal-log.hpp>
9#include <xaiefal/rsc/xaiefal-rsc-base.hpp>
40 " Not supported for base backend " << std::endl;
52 AieRC
request(std::vector<XAieUserRsc>& RscReq) {
54 for (uint32_t i = 0; i < RscReq.size(); i++) {
76 " Not supported for base backend " << std::endl;
91 for (uint32_t i = 0; i < RscReq.size(); i++) {
113 " Not supported for base backend " << std::endl;
126 virtual AieRC
requestBc(std::vector<XAieUserRsc>& RscReq,
bool isBcAll) {
130 " Not supported for base backend " << std::endl;
145 " Not supported for base backend " << std::endl;
157 AieRC
release(std::vector<XAieUserRsc>& RscRel) {
158 for (uint32_t i = 0; i < RscRel.size(); i++)
173 " Not supported for base backend " << std::endl;
185 AieRC
free(std::vector<XAieUserRsc>& RscFree) {
186 for (uint32_t i = 0; i < RscFree.size(); i++)
205 " Not supported for base backend " << std::endl;
223 " Not supported for selected backend " << std::endl;
240 " Not supported for selected backend " << std::endl;
static std::ostream & log(LogLevel Lvl=LogLevel::FAL_MAX)
Definition xaiefal-log.hpp:50
AI engine low level device pointer handle.
Definition xaiefal-base.hpp:104
AieRC requestAllocated(std::vector< XAieUserRsc > &RscReq)
Definition xaiefal-rscmgr-backend-base.hpp:89
virtual AieRC request(XAieUserRsc &RscReq)
Definition xaiefal-rscmgr-backend-base.hpp:37
virtual AieRC requestAllocated(XAieUserRsc &RscReq)
Definition xaiefal-rscmgr-backend-base.hpp:73
XAieRscMgrBackend()=delete
AieRC request(std::vector< XAieUserRsc > &RscReq)
Definition xaiefal-rscmgr-backend-base.hpp:52
virtual AieRC loadRscBitmaps(const char *MetaData, uint64_t NumBitmaps)
Definition xaiefal-rscmgr-backend-base.hpp:236
virtual AieRC release(XAieUserRsc &RscRel)
Definition xaiefal-rscmgr-backend-base.hpp:142
XAie_DevInst * dev()
Definition xaiefal-rscmgr-backend-base.hpp:244
XAieDevHandle * AieHd
Definition xaiefal-rscmgr-backend-base.hpp:248
virtual AieRC getRscStats(std::vector< XAieUserRscStat > &vStats, XAieRscBitmapType BType)
Definition xaiefal-rscmgr-backend-base.hpp:200
virtual AieRC writeRscBitmaps(std::ofstream &Fs, uint64_t &NumRscs)
Definition xaiefal-rscmgr-backend-base.hpp:219
AieRC free(std::vector< XAieUserRsc > &RscFree)
Definition xaiefal-rscmgr-backend-base.hpp:185
virtual AieRC free(XAieUserRsc &RscFree)
Definition xaiefal-rscmgr-backend-base.hpp:170
virtual AieRC requestContiguous(std::vector< XAieUserRsc > &RscReq)
Definition xaiefal-rscmgr-backend-base.hpp:110
XAieRscMgrBackend(XAieDevHandle *DevHd)
Definition xaiefal-rscmgr-backend-base.hpp:26
AieRC release(std::vector< XAieUserRsc > &RscRel)
Definition xaiefal-rscmgr-backend-base.hpp:157
virtual AieRC requestBc(std::vector< XAieUserRsc > &RscReq, bool isBcAll)
Definition xaiefal-rscmgr-backend-base.hpp:126
c Accompany it with the information you received as to the offer to distribute corresponding source complete source code means all the source code for all modules it plus any associated interface definition plus the scripts used to control compilation and installation of the executable as a special the source code distributed need not include anything that is normally and so on of the operating system on which the executable unless that component itself accompanies the executable If distribution of executable or object code is made by offering access to copy from a designated then offering equivalent access to copy the source code from the same place counts as distribution of the source even though third parties are not compelled to copy the source along with the object code You may not or distribute the Program except as expressly provided under this License Any attempt otherwise to sublicense or distribute the Program is void
Definition license.txt:197
Definition xaiefal-base.hpp:23
XAieRscBitmapType
Definition xaiefal-rscmgr-backend-base.hpp:14
@ XAIE_STATIC_RSC
Definition xaiefal-rscmgr-backend-base.hpp:15
@ XAIE_AVAIL_RSC
Definition xaiefal-rscmgr-backend-base.hpp:16
@ FAL_ERROR
Definition xaiefal-log.hpp:14
Data needed to make a resource request.
Definition xaiefal-rsc-base.hpp:27