Searched refs:ANeuralNetworksMemory (Results 1 – 13 of 13) sorted by relevance
/packages/modules/NeuralNetworks/runtime/include/ |
D | NeuralNetworks.h | 298 ANeuralNetworksMemory** memory) __NNAPI_INTRODUCED_IN(30); 336 int ANeuralNetworksMemory_copy(const ANeuralNetworksMemory* src, const ANeuralNetworksMemory* dst) 764 ANeuralNetworksMemory** memory) 847 ANeuralNetworksMemory** memory) __NNAPI_INTRODUCED_IN(27); 861 void ANeuralNetworksMemory_free(ANeuralNetworksMemory* memory) __NNAPI_INTRODUCED_IN(27); 1081 const ANeuralNetworksMemory* memory, 1538 const ANeuralNetworksMemory* memory, size_t offset, 1678 const ANeuralNetworksMemory* memory, size_t offset,
|
D | NeuralNetworksTypes.h | 6186 typedef struct ANeuralNetworksMemory ANeuralNetworksMemory; typedef
|
D | NeuralNetworksWrapper.h | 188 Memory(const NnApiSupportLibrary* nnapi, ANeuralNetworksMemory* memory) in Memory() 240 ANeuralNetworksMemory* get() const { return mMemory; } 247 ANeuralNetworksMemory* mMemory = nullptr;
|
/packages/modules/NeuralNetworks/shim_and_sl/public/ |
D | NeuralNetworksSupportLibraryImpl.h | 925 const ANeuralNetworksMemory* memory, 965 const ANeuralNetworksMemory* memory, 1054 int (*ANeuralNetworksMemory_copy)(const ANeuralNetworksMemory* src, 1055 const ANeuralNetworksMemory* dst); 1064 ANeuralNetworksMemory** memory); 1073 ANeuralNetworksMemory** memory); 1082 ANeuralNetworksMemory** memory); 1090 void (*ANeuralNetworksMemory_free)(ANeuralNetworksMemory* memory); 1225 const ANeuralNetworksMemory* memory,
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | SupportLibraryTestGenerated.cpp | 71 ANeuralNetworksMemory* createDeviceMemoryForInput(const Compilation& compilation, 73 ANeuralNetworksMemory* createDeviceMemoryForOutput(const Compilation& compilation, 258 ANeuralNetworksMemory* GeneratedTests::createDeviceMemoryForInput(const Compilation& compilation, in createDeviceMemoryForInput() 266 ANeuralNetworksMemory* memory = nullptr; in createDeviceMemoryForInput() 272 ANeuralNetworksMemory* GeneratedTests::createDeviceMemoryForOutput(const Compilation& compilation, in createDeviceMemoryForOutput() 280 ANeuralNetworksMemory* memory = nullptr; in createDeviceMemoryForOutput() 310 ANeuralNetworksMemory* memory = createDeviceMemoryForInput(compilation, i); in computeWithDeviceMemories() 325 ANeuralNetworksMemory* memory = createDeviceMemoryForOutput(compilation, i); in computeWithDeviceMemories()
|
D | TestValidation.cpp | 257 ANeuralNetworksMemory* createAshmem(uint32_t size) { in createAshmem() 267 ANeuralNetworksMemory* ashmem = nullptr; in createAshmem() 275 std::vector<ANeuralNetworksMemory*> mMemories; 368 ANeuralNetworksMemory* memory, int expectedResult) { in executeWithMemoryAsInput() 382 ANeuralNetworksMemory* memory, int expectedResult) { in executeWithMemoryAsOutput() 634 ANeuralNetworksMemory* memory; in TEST_F() 697 ANeuralNetworksMemory* memory; in TEST_F() 728 ANeuralNetworksMemory* memory; in TEST_F() 1341 ANeuralNetworksMemory* memory; in TEST_F() 1711 ANeuralNetworksMemory* memory; in TEST_F() [all …]
|
D | TestGenerated.cpp | 155 static ANeuralNetworksMemory* createDeviceMemoryForInput(const Compilation& compilation, in createDeviceMemoryForInput() 162 ANeuralNetworksMemory* memory = nullptr; in createDeviceMemoryForInput() 168 static ANeuralNetworksMemory* createDeviceMemoryForOutput(const Compilation& compilation, in createDeviceMemoryForOutput() 175 ANeuralNetworksMemory* memory = nullptr; in createDeviceMemoryForOutput() 200 ANeuralNetworksMemory* memory = createDeviceMemoryForInput(compilation, i); in createRequestWithDeviceMemories() 215 ANeuralNetworksMemory* memory = createDeviceMemoryForOutput(compilation, i); in createRequestWithDeviceMemories()
|
D | TestNeuralNetworksWrapper.h | 58 Memory(ANeuralNetworksMemory* memory) : mMemory(memory) {} in Memory() 95 ANeuralNetworksMemory* get() const { return mMemory; } in get() 99 ANeuralNetworksMemory* mMemory = nullptr;
|
D | TestPartitioningRandom.cpp | 335 ANeuralNetworksMemory* memory = reinterpret_cast<ANeuralNetworksMemory*>(ashmem.release()); in layout()
|
D | TestMemoryDomain.cpp | 243 ANeuralNetworksMemory* memory; in allocateDeviceMemory()
|
/packages/modules/NeuralNetworks/runtime/ |
D | NeuralNetworks.cpp | 1009 ANeuralNetworksMemory** memory) { in ANeuralNetworksMemory_createFromDesc() 1023 *memory = reinterpret_cast<ANeuralNetworksMemory*>(m.release()); in ANeuralNetworksMemory_createFromDesc() 1027 int ANeuralNetworksMemory_copy(const ANeuralNetworksMemory* src, const ANeuralNetworksMemory* dst) { in ANeuralNetworksMemory_copy() 1039 ANeuralNetworksMemory** memory) { in ANeuralNetworksMemory_createFromFd() 1054 *memory = reinterpret_cast<ANeuralNetworksMemory*>(m.release()); in ANeuralNetworksMemory_createFromFd() 1059 ANeuralNetworksMemory** memory) { in ANeuralNetworksMemory_createFromAHardwareBuffer() 1074 *memory = reinterpret_cast<ANeuralNetworksMemory*>(m.release()); in ANeuralNetworksMemory_createFromAHardwareBuffer() 1078 void ANeuralNetworksMemory_free(ANeuralNetworksMemory* memory) { in ANeuralNetworksMemory_free() 1141 const ANeuralNetworksMemory* memory, in ANeuralNetworksModel_setOperandValueFromMemory() 1357 const ANeuralNetworksMemory* memory, size_t offset, in ANeuralNetworksExecution_setInputFromMemory() [all …]
|
/packages/modules/NeuralNetworks/shim_and_sl/include/ |
D | SupportLibraryWrapper.h | 51 Memory(const NnApiSupportLibrary* nnapi, ANeuralNetworksMemory* memory) in Memory() 123 ANeuralNetworksMemory* get() const { return mMemory; } in get() 133 ANeuralNetworksMemory* mMemory = nullptr;
|
/packages/modules/NeuralNetworks/tools/api/ |
D | NeuralNetworksTypes.t | 328 * ANeuralNetworksMemory is an opaque type that represents memory. 369 typedef struct ANeuralNetworksMemory ANeuralNetworksMemory; 734 * It is however safe to continue using a {@link ANeuralNetworksMemory} object created
|