Home
last modified time | relevance | path

Searched refs:ANeuralNetworksMemory (Results 1 – 13 of 13) sorted by relevance

/packages/modules/NeuralNetworks/runtime/include/
DNeuralNetworks.h298 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,
DNeuralNetworksTypes.h6186 typedef struct ANeuralNetworksMemory ANeuralNetworksMemory; typedef
DNeuralNetworksWrapper.h188 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/
DNeuralNetworksSupportLibraryImpl.h925 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/
DSupportLibraryTestGenerated.cpp71 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()
DTestValidation.cpp257 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 …]
DTestGenerated.cpp155 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()
DTestNeuralNetworksWrapper.h58 Memory(ANeuralNetworksMemory* memory) : mMemory(memory) {} in Memory()
95 ANeuralNetworksMemory* get() const { return mMemory; } in get()
99 ANeuralNetworksMemory* mMemory = nullptr;
DTestPartitioningRandom.cpp335 ANeuralNetworksMemory* memory = reinterpret_cast<ANeuralNetworksMemory*>(ashmem.release()); in layout()
DTestMemoryDomain.cpp243 ANeuralNetworksMemory* memory; in allocateDeviceMemory()
/packages/modules/NeuralNetworks/runtime/
DNeuralNetworks.cpp1009 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/
DSupportLibraryWrapper.h51 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/
DNeuralNetworksTypes.t328 * 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