Searched defs:nnapi (Results 1 – 11 of 11) sorted by relevance
/packages/modules/NeuralNetworks/runtime/include/ |
D | NeuralNetworksWrapper.h | 188 Memory(const NnApiSupportLibrary* nnapi, ANeuralNetworksMemory* memory) in Memory() 191 Memory(const NnApiSupportLibrary* nnapi, size_t size, int protect, int fd, size_t offset) 202 Memory(const NnApiSupportLibrary* nnapi, AHardwareBuffer* buffer) : mNnApi(nnapi) { 254 Model(const NnApiSupportLibrary* nnapi) : mNnApi(nnapi) { 391 Event(const NnApiSupportLibrary* nnapi) : mNnApi(nnapi) {} 392 Event(const NnApiSupportLibrary* nnapi, int syncFd) : mNnApi(nnapi) { 466 static std::pair<Result, Compilation> createForDevice(const NnApiSupportLibrary* nnapi, 472 const NnApiSupportLibrary* nnapi, const Model* model, 579 Compilation(const NnApiSupportLibrary* nnapi, ANeuralNetworksCompilation* compilation) 593 Execution(const NnApiSupportLibrary* nnapi, const Compilation* compilation) : mNnApi(nnapi) {
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | GeneratedTestUtils.cpp | 62 static std::unique_ptr<MemoryWithPointer> create(const NnApiSupportLibrary* nnapi, in create() 95 MemoryWithPointer(const NnApiSupportLibrary* nnapi, size_t size, int protect, int fd, in create() 109 const NnApiSupportLibrary* nnapi, const TestModel& testModel) { 189 void createModel(const NnApiSupportLibrary* nnapi, const TestModel& testModel,
|
D | GeneratedTestUtils.h | 58 GeneratedModel(const NnApiSupportLibrary* nnapi) : sl_wrapper::Model(nnapi) {} in GeneratedModel() 89 inline void createModel(const NnApiSupportLibrary* nnapi, const test_helper::TestModel& testModel, in createModel()
|
D | SupportLibraryTestUtils.h | 39 static std::unique_ptr<TestAshmem> createFrom(const NnApiSupportLibrary* nnapi, in createFrom() 45 static std::unique_ptr<TestAshmem> createFrom(const NnApiSupportLibrary* nnapi, in createFrom()
|
D | TestGpuNnapi.cpp | 814 auto nnapi = std::make_unique<NnapiExecutor>(input, output); in create() local 961 auto nnapi = NnapiExecutor<dataType>::create(kDevice, mGpuOutput, mNnapiOutput); in runTest() local
|
/packages/modules/NeuralNetworks/shim_and_sl/include/ |
D | SupportLibraryWrapper.h | 51 Memory(const NnApiSupportLibrary* nnapi, ANeuralNetworksMemory* memory) in Memory() 57 : mNnApi(nnapi), mOwnedFd(ownsFd ? std::optional<int>{fd} : std::nullopt), mSize(size) { in mNnApi() argument 63 Memory(const NnApiSupportLibrary* nnapi, AHardwareBuffer* buffer, bool ownAHWB, size_t size) in Memory() 70 Memory(const NnApiSupportLibrary* nnapi, ANeuralNetworksMemoryDesc* desc, size_t size) in Memory() 142 Model(const NnApiSupportLibrary* nnapi) : mNnApi(nnapi) { in Model() 351 static std::pair<Result, Compilation> createForDevice(const NnApiSupportLibrary* nnapi, in createForDevice() 357 const NnApiSupportLibrary* nnapi, const Model* model, in createForDevices() 479 Compilation(const NnApiSupportLibrary* nnapi, ANeuralNetworksCompilation* compilation) in Compilation() 488 Execution(const NnApiSupportLibrary* nnapi, const Compilation* compilation) in Execution()
|
D | ShimPreparedModel.h | 34 ShimPreparedModel(std::shared_ptr<const NnApiSupportLibrary> nnapi, in ShimPreparedModel()
|
/packages/modules/NeuralNetworks/shim_and_sl/ |
D | ShimDeviceManager.cpp | 84 const std::shared_ptr<const NnApiSupportLibrary>& nnapi) { in getNamedDevices() 135 std::shared_ptr<const NnApiSupportLibrary> nnapi; in registerDevices() local
|
D | ShimConverter.cpp | 47 const NnApiSupportLibrary* nnapi, in convertSubgraphFromHAL() 369 std::optional<ShimConvertedModel> convertFromHAL(const NnApiSupportLibrary* nnapi, in convertFromHAL() 429 const NnApiSupportLibrary* nnapi, const neuralnetworks::Memory& pool) { in convertFromHAL()
|
D | ShimDevice.cpp | 102 Capabilities getCapabilities(const NnApiSupportLibrary* nnapi, ANeuralNetworksDevice* device) { in getCapabilities() 136 NumberOfCacheFiles getNumberOfCacheFilesNeeded(const NnApiSupportLibrary* nnapi, in getNumberOfCacheFilesNeeded() 148 std::vector<Extension> getVendorExtensions(const NnApiSupportLibrary* nnapi, in getVendorExtensions() 183 ShimDevice::ShimDevice(std::shared_ptr<const NnApiSupportLibrary> nnapi, in ShimDevice()
|
D | ShimPreparedModel.cpp | 257 const std::shared_ptr<const NnApiSupportLibrary>& nnapi, in executeFencedInternal() 585 std::shared_ptr<const NnApiSupportLibrary> nnapi, in ShimExecution()
|