File UdoImpl.h

Parent directory (include/QNN/DSP/Udo)

Definition (include/QNN/DSP/Udo/UdoImpl.h)

Includes

Included By

Full File Listing

Typedefs

typedef struct _SnpeUdo_OpFactory_t *SnpeUdo_OpFactory_t
typedef struct _SnpeUdo_Operation_t *SnpeUdo_Operation_t
typedef SnpeUdo_OpFactory_t Udo_OpFactory_t
typedef SnpeUdo_Operation_t Udo_Operation_t
typedef SnpeUdo_ErrorType_t (*SnpeUdo_InitImplLibraryFunction_t)(void*)
typedef SnpeUdo_ErrorType_t (*SnpeUdo_getImplVersion_t)(SnpeUdo_LibVersion_t **version)
typedef SnpeUdo_ErrorType_t (*SnpeUdo_TerminateImplLibraryFunction_t)(void)
typedef SnpeUdo_ErrorType_t (*SnpeUdo_GetImpInfoFunction_t)(SnpeUdo_ImpInfo_t **implementationInfo)
typedef SnpeUdo_GetImpInfoFunction_t Udo_GetImpInfoFunction_t
typedef SnpeUdo_ErrorType_t (*SnpeUdo_CreateOpFactoryFunction_t)(SnpeUdo_CoreType_t, void*, SnpeUdo_String_t, uint32_t, SnpeUdo_Param_t*, SnpeUdo_OpFactory_t*)
typedef SnpeUdo_CreateOpFactoryFunction_t Udo_CreateOpFactoryFunction_t
typedef SnpeUdo_ErrorType_t (*SnpeUdo_ReleaseOpFactoryFunction_t)(SnpeUdo_OpFactory_t)
typedef SnpeUdo_ReleaseOpFactoryFunction_t Udo_ReleaseOpFactoryFunction_t
typedef SnpeUdo_ErrorType_t (*SnpeUdo_CreateOperationFunction_t)(SnpeUdo_OpFactory_t, void*, uint32_t, SnpeUdo_TensorParam_t*, uint32_t, SnpeUdo_TensorParam_t*, SnpeUdo_Operation_t*)
typedef SnpeUdo_CreateOperationFunction_t Udo_CreateOperationFunction_t
typedef SnpeUdo_ErrorType_t (*SnpeUdo_ExternalNotify_t)(const uint32_t ID)

A pointer to notification function.

   The notification function supports the non-blocking (e.g. asynchronous) execution use-case.
   In case an "executeUdoOp" function is called with "blocking" set to zero, and a
   notify function, this function will be called by the implementation library at the
   end of execution. The implementation library will pass the notify function the ID
   that was provided to it when "executeUdoOp" was called.

Param ID

[in] 32-bit value, that was provided to executeUdoOp by the calling entity. Can be used to track the notifications, in case of multiple execute calls issued.

Return

Error code

typedef SnpeUdo_ExternalNotify_t Udo_ExternalNotify_t
typedef SnpeUdo_ErrorType_t (*SnpeUdo_ExecuteOpFunction_t)(SnpeUdo_Operation_t, bool, const uint32_t, SnpeUdo_ExternalNotify_t)
typedef SnpeUdo_ExecuteOpFunction_t Udo_ExecuteOpFunction_t
typedef SnpeUdo_ErrorType_t (*SnpeUdo_SetOpIOFunction_t)(SnpeUdo_Operation_t, SnpeUdo_TensorParam_t*, SnpeUdo_TensorParam_t*)
typedef SnpeUdo_SetOpIOFunction_t Udo_SetOpIOFunction_t
typedef SnpeUdo_ErrorType_t (*SnpeUdo_ProfileOpFunction_t)(SnpeUdo_Operation_t, uint32_t*)
typedef SnpeUdo_ProfileOpFunction_t Udo_ProfileOpFunction_t
typedef SnpeUdo_ErrorType_t (*SnpeUdo_ReleaseOpFunction_t)(SnpeUdo_Operation_t)
typedef SnpeUdo_ReleaseOpFunction_t Udo_ReleaseOpFunction_t