Searched defs:nnapi (Results 1 – 10 of 10) sorted by relevance
/packages/modules/NeuralNetworks/runtime/test/ |
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 | 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 | GeneratedTestUtils.cpp | 59 static std::unique_ptr<MemoryAHWB> create(const NnApiSupportLibrary* nnapi, uint32_t size) { in create() 96 MemoryAHWB(const NnApiSupportLibrary* nnapi, AHardwareBuffer* ahwb, void* buffer) in create() 107 static std::unique_ptr<MemoryAHWB> createConstantReferenceMemory(const NnApiSupportLibrary* nnapi, 188 void createModel(const NnApiSupportLibrary* nnapi, const TestModel& testModel,
|
D | TestGpuNnapi.cpp | 805 auto nnapi = std::make_unique<NnapiExecutor>(input, output); in create() local 952 auto nnapi = NnapiExecutor<dataType>::create(kDevice, mGpuOutput, mNnapiOutput); in runTest() local
|
/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) 201 Memory(const NnApiSupportLibrary* nnapi, AHardwareBuffer* buffer) : mNnApi(nnapi) { 252 Model(const NnApiSupportLibrary* nnapi) : mNnApi(nnapi) { 378 Event(const NnApiSupportLibrary* nnapi) : mNnApi(nnapi) {} 379 Event(const NnApiSupportLibrary* nnapi, int syncFd) : mNnApi(nnapi) { 453 static std::pair<Result, Compilation> createForDevice(const NnApiSupportLibrary* nnapi, 459 const NnApiSupportLibrary* nnapi, const Model* model, 566 Compilation(const NnApiSupportLibrary* nnapi, ANeuralNetworksCompilation* compilation) 580 Execution(const NnApiSupportLibrary* nnapi, const Compilation* compilation) : mNnApi(nnapi) {
|
/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() 141 Model(const NnApiSupportLibrary* nnapi) : mNnApi(nnapi) { in Model() 349 static std::pair<Result, Compilation> createForDevice(const NnApiSupportLibrary* nnapi, in createForDevice() 355 const NnApiSupportLibrary* nnapi, const Model* model, in createForDevices() 466 Compilation(const NnApiSupportLibrary* nnapi, ANeuralNetworksCompilation* compilation) in Compilation() 475 Execution(const NnApiSupportLibrary* nnapi, const Compilation* compilation) in Execution()
|
D | ShimPreparedModel.h | 33 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() 139 const std::shared_ptr<const NnApiSupportLibrary> nnapi = in registerDevices() local
|
D | ShimConverter.cpp | 47 const NnApiSupportLibrary* nnapi, in convertSubgraphFromHAL() 355 std::optional<ShimConvertedModel> convertFromHAL(const NnApiSupportLibrary* nnapi, in convertFromHAL() 415 const NnApiSupportLibrary* nnapi, const neuralnetworks::Memory& pool) { in convertFromHAL()
|
D | ShimDevice.cpp | 101 Capabilities getCapabilities(const NnApiSupportLibrary* nnapi, ANeuralNetworksDevice* device) { in getCapabilities() 135 NumberOfCacheFiles getNumberOfCacheFilesNeeded(const NnApiSupportLibrary* nnapi, in getNumberOfCacheFilesNeeded() 147 std::vector<Extension> getVendorExtensions(const NnApiSupportLibrary* nnapi, in getVendorExtensions() 181 ShimDevice::ShimDevice(std::shared_ptr<const NnApiSupportLibrary> nnapi, in ShimDevice()
|