Home
last modified time | relevance | path

Searched refs:NNRTDeviceDesc (Results 1 – 6 of 6) sorted by relevance

/third_party/mindspore/interfaces/kits/c/
Dcontext.h238 OH_AI_API NNRTDeviceDesc *OH_AI_GetAllNNRTDeviceDescs(size_t *num);
247 OH_AI_API NNRTDeviceDesc *OH_AI_GetElementOfNNRTDeviceDescs(NNRTDeviceDesc *descs, size_t index);
254 OH_AI_API void OH_AI_DestroyAllNNRTDeviceDescs(NNRTDeviceDesc **desc);
262 OH_AI_API size_t OH_AI_GetDeviceIdFromNNRTDeviceDesc(const NNRTDeviceDesc *desc);
270 OH_AI_API const char *OH_AI_GetNameFromNNRTDeviceDesc(const NNRTDeviceDesc *desc);
278 OH_AI_API OH_AI_NNRTDeviceType OH_AI_GetTypeFromNNRTDeviceDesc(const NNRTDeviceDesc *desc);
Dtypes.h120 typedef struct NNRTDeviceDesc NNRTDeviceDesc; typedef
/third_party/mindspore/patches/
D0004-cross-compile-ndkso-fp16-nnrt-train_capi.patch119 +OH_AI_API NNRTDeviceDesc *OH_AI_GetAllNNRTDeviceDescs(size_t *num);
127 +OH_AI_API NNRTDeviceDesc *OH_AI_GetElementOfNNRTDeviceDescs(NNRTDeviceDesc *descs, size_t index);
134 +OH_AI_API NNRTDeviceDesc *OH_AI_GetAllNNRTDeviceDescs(size_t *num);
139 +OH_AI_API void OH_AI_DestroyAllNNRTDeviceDescs(NNRTDeviceDesc **desc);
146 +OH_AI_API size_t OH_AI_GetDeviceIdFromNNRTDeviceDesc(const NNRTDeviceDesc *desc);
153 +OH_AI_API const char *OH_AI_GetNameFromNNRTDeviceDesc(const NNRTDeviceDesc *desc);
160 +OH_AI_API OH_AI_NNRTDeviceType OH_AI_GetTypeFromNNRTDeviceDesc(const NNRTDeviceDesc *desc);
522 +typedef struct NNRTDeviceDesc NNRTDeviceDesc;
539 +OH_AI_API NNRTDeviceDesc *OH_AI_GetAllNNRTDeviceDescs(size_t *num);
547 +OH_AI_API NNRTDeviceDesc *OH_AI_GetElementOfNNRTDeviceDescs(NNRTDeviceDesc *descs, size_t index);
[all …]
D0008-upgrade-flatbuffers-fix_crash.patch87 @@ -324,6 +324,10 @@ NNRTDeviceDesc *OH_AI_GetAllNNRTDeviceDescs(size_t *num) {
D0009-npu-zero-copy.patch193 @@ -36,5 +36,8 @@ struct NNRTDeviceDesc {
D0003-add-js-api.patch606 + interface NNRTDeviceDesc {
636 + * @returns { NNRTDeviceDesc[] } the array of NNRTDeviceDecs
639 + function getAllNNRTDeviceDescs() : NNRTDeviceDesc[];
2462 + NNRTDeviceDesc *devices = OH_AI_GetAllNNRTDeviceDescs(&num);
2473 + NNRTDeviceDesc *nnrt_device_desc = OH_AI_GetElementOfNNRTDeviceDescs(devices, i);
5116 +const std::string CLASS_NAME = "NNRTDeviceDesc";