Lines Matching refs:compilation

818                                                 ANeuralNetworksCompilation** compilation) {  in ANeuralNetworksCompilation_createForDevices()  argument
820 if (model == nullptr || devices == nullptr || compilation == nullptr) { in ANeuralNetworksCompilation_createForDevices()
861 *compilation = reinterpret_cast<ANeuralNetworksCompilation*>(c); in ANeuralNetworksCompilation_createForDevices()
909 int ANeuralNetworksBurst_create(ANeuralNetworksCompilation* compilation, in ANeuralNetworksBurst_create() argument
912 if (!compilation || !burst) { in ANeuralNetworksBurst_create()
917 CompilationBuilder* c = reinterpret_cast<CompilationBuilder*>(compilation); in ANeuralNetworksBurst_create()
984 const ANeuralNetworksCompilation* compilation, in ANeuralNetworksMemoryDesc_addInputRole() argument
987 if (!desc || !compilation) { in ANeuralNetworksMemoryDesc_addInputRole()
992 const CompilationBuilder* c = reinterpret_cast<const CompilationBuilder*>(compilation); in ANeuralNetworksMemoryDesc_addInputRole()
997 const ANeuralNetworksCompilation* compilation, in ANeuralNetworksMemoryDesc_addOutputRole() argument
1000 if (!desc || !compilation) { in ANeuralNetworksMemoryDesc_addOutputRole()
1005 const CompilationBuilder* c = reinterpret_cast<const CompilationBuilder*>(compilation); in ANeuralNetworksMemoryDesc_addOutputRole()
1237 ANeuralNetworksCompilation** compilation) { in ANeuralNetworksCompilation_create() argument
1239 if (!model || !compilation) { in ANeuralNetworksCompilation_create()
1250 *compilation = reinterpret_cast<ANeuralNetworksCompilation*>(c); in ANeuralNetworksCompilation_create()
1254 void ANeuralNetworksCompilation_free(ANeuralNetworksCompilation* compilation) { in ANeuralNetworksCompilation_free() argument
1257 CompilationBuilder* c = reinterpret_cast<CompilationBuilder*>(compilation); in ANeuralNetworksCompilation_free()
1261 int ANeuralNetworksCompilation_setPreference(ANeuralNetworksCompilation* compilation, in ANeuralNetworksCompilation_setPreference() argument
1264 if (!compilation) { in ANeuralNetworksCompilation_setPreference()
1268 CompilationBuilder* c = reinterpret_cast<CompilationBuilder*>(compilation); in ANeuralNetworksCompilation_setPreference()
1272 int ANeuralNetworksCompilation_setCaching(ANeuralNetworksCompilation* compilation, in ANeuralNetworksCompilation_setCaching() argument
1275 if (!compilation || !cacheDir || !token) { in ANeuralNetworksCompilation_setCaching()
1279 CompilationBuilder* c = reinterpret_cast<CompilationBuilder*>(compilation); in ANeuralNetworksCompilation_setCaching()
1283 int ANeuralNetworksCompilation_finish(ANeuralNetworksCompilation* compilation) { in ANeuralNetworksCompilation_finish() argument
1285 if (!compilation) { in ANeuralNetworksCompilation_finish()
1289 CompilationBuilder* c = reinterpret_cast<CompilationBuilder*>(compilation); in ANeuralNetworksCompilation_finish()
1296 int ANeuralNetworksCompilation_setPriority(ANeuralNetworksCompilation* compilation, int priority) { in ANeuralNetworksCompilation_setPriority() argument
1298 if (!compilation) { in ANeuralNetworksCompilation_setPriority()
1302 CompilationBuilder* c = reinterpret_cast<CompilationBuilder*>(compilation); in ANeuralNetworksCompilation_setPriority()
1306 int ANeuralNetworksCompilation_setTimeout(ANeuralNetworksCompilation* compilation, in ANeuralNetworksCompilation_setTimeout() argument
1309 if (!compilation) { in ANeuralNetworksCompilation_setTimeout()
1313 CompilationBuilder* c = reinterpret_cast<CompilationBuilder*>(compilation); in ANeuralNetworksCompilation_setTimeout()
1317 int ANeuralNetworksExecution_create(ANeuralNetworksCompilation* compilation, in ANeuralNetworksExecution_create() argument
1320 if (!compilation || !execution) { in ANeuralNetworksExecution_create()
1325 CompilationBuilder* c = reinterpret_cast<CompilationBuilder*>(compilation); in ANeuralNetworksExecution_create()
1555 int ANeuralNetworksCompilation_addExtensionAttribute(ANeuralNetworksCompilation* compilation, in ANeuralNetworksCompilation_addExtensionAttribute() argument
1560 if (!compilation || !extensionName || (!data && length != 0)) { in ANeuralNetworksCompilation_addExtensionAttribute()
1564 CompilationBuilder* c = reinterpret_cast<CompilationBuilder*>(compilation); in ANeuralNetworksCompilation_addExtensionAttribute()
1703 const ANeuralNetworksCompilation* compilation, uint32_t index, uint32_t* alignment) { in ANeuralNetworksCompilation_getPreferredMemoryAlignmentForInput() argument
1706 if (!compilation || !alignment) { in ANeuralNetworksCompilation_getPreferredMemoryAlignmentForInput()
1711 const CompilationBuilder* c = reinterpret_cast<const CompilationBuilder*>(compilation); in ANeuralNetworksCompilation_getPreferredMemoryAlignmentForInput()
1716 const ANeuralNetworksCompilation* compilation, uint32_t index, uint32_t* padding) { in ANeuralNetworksCompilation_getPreferredMemoryPaddingForInput() argument
1719 if (!compilation || !padding) { in ANeuralNetworksCompilation_getPreferredMemoryPaddingForInput()
1724 const CompilationBuilder* c = reinterpret_cast<const CompilationBuilder*>(compilation); in ANeuralNetworksCompilation_getPreferredMemoryPaddingForInput()
1729 const ANeuralNetworksCompilation* compilation, uint32_t index, uint32_t* alignment) { in ANeuralNetworksCompilation_getPreferredMemoryAlignmentForOutput() argument
1732 if (!compilation || !alignment) { in ANeuralNetworksCompilation_getPreferredMemoryAlignmentForOutput()
1737 const CompilationBuilder* c = reinterpret_cast<const CompilationBuilder*>(compilation); in ANeuralNetworksCompilation_getPreferredMemoryAlignmentForOutput()
1742 const ANeuralNetworksCompilation* compilation, uint32_t index, uint32_t* padding) { in ANeuralNetworksCompilation_getPreferredMemoryPaddingForOutput() argument
1745 if (!compilation || !padding) { in ANeuralNetworksCompilation_getPreferredMemoryPaddingForOutput()
1750 const CompilationBuilder* c = reinterpret_cast<const CompilationBuilder*>(compilation); in ANeuralNetworksCompilation_getPreferredMemoryPaddingForOutput()
1766 int SL_ANeuralNetworksCompilation_setCachingFromFds(ANeuralNetworksCompilation* compilation, in SL_ANeuralNetworksCompilation_setCachingFromFds() argument
1773 if (!compilation || (numModelCacheFiles != 0 && !modelCacheFds) || in SL_ANeuralNetworksCompilation_setCachingFromFds()
1778 CompilationBuilder* c = reinterpret_cast<CompilationBuilder*>(compilation); in SL_ANeuralNetworksCompilation_setCachingFromFds()