Overview

Data Structure

NameDescription
HB_UCP_VERSION_MAJORUCP master version number information
HB_UCP_VERSION_MINORUCP minor version number information
HB_UCP_VERSION_PATCHUCP patch version number information
hbUCPTaskHandle_tUCP task handle pointing to the created task
hbUCPTaskDoneCbThe callback function that needs to be executed when the user-defined task is completed
HB_UCP_ALL_BACKENDSSpecify all backend macros
hbUCPBackendEnumerate hardware backends
hbUCPTaskPriorityConfigure task priority
HB_UCP_INITIALIZE_SCHED_PARAMInitialize control parameter macros
hbUCPSchedParamControl parameter structure
hbUCPSysMemSystem memory structure
hbUCPSysMemFlushFlagSystem memory and cache sync parameter

Function Interface

NameDescription
hbUCPGetVersionObtain the ucp version number
hbUCPGetSocNameObtain the soc name
hbUCPSubmitTaskCommit the UCP task to the scheduler
hbUCPWaitTaskDoneWait for task complete or timeout
hbUCPSetTaskDoneCbRegister a callback function
hbUCPReleaseTaskRelease UCP task resource
hbUCPMallocApply the system memory
hbUCPMallocCachedApply the cached system memory
hbUCPMemFlushRefresh the cached system memory
hbUCPFreeFree the system memory
hbUCPGetErrorDescGet the natural language description of the error code