/packages/modules/NeuralNetworks/shim_and_sl/public/ |
D | NeuralNetworksSupportLibraryImpl.h | 184 int SL_ANeuralNetworksDevice_getNumberOfCacheFilesNeeded(const ANeuralNetworksDevice* device, 203 int SL_ANeuralNetworksDevice_getPerformanceInfo(const ANeuralNetworksDevice* device, 223 const ANeuralNetworksDevice* device, void* context, 237 int SL_ANeuralNetworksDevice_getVendorExtensionCount(const ANeuralNetworksDevice* device, 251 int SL_ANeuralNetworksDevice_getVendorExtensionName(const ANeuralNetworksDevice* device, 268 const ANeuralNetworksDevice* device, uint32_t vendorExtensionIndex, void* context, 654 const ANeuralNetworksDevice* const* devices, 756 int (*ANeuralNetworksDevice_getExtensionSupport)(const ANeuralNetworksDevice* device, 766 int (*ANeuralNetworksDevice_getFeatureLevel)(const ANeuralNetworksDevice* device, 775 int (*ANeuralNetworksDevice_getName)(const ANeuralNetworksDevice* device, const char** name); [all …]
|
/packages/modules/NeuralNetworks/runtime/include/ |
D | NeuralNetworks.h | 406 int ANeuralNetworks_getDevice(uint32_t devIndex, ANeuralNetworksDevice** device) 429 int ANeuralNetworksDevice_getName(const ANeuralNetworksDevice* device, const char** name) 451 int ANeuralNetworksDevice_getType(const ANeuralNetworksDevice* device, int32_t* type) 484 int ANeuralNetworksDevice_getVersion(const ANeuralNetworksDevice* device, const char** version) 514 int ANeuralNetworksDevice_getFeatureLevel(const ANeuralNetworksDevice* device, 535 int ANeuralNetworksDevice_wait(const ANeuralNetworksDevice* device) __NNAPI_INTRODUCED_IN(30) 559 const ANeuralNetworksModel* model, const ANeuralNetworksDevice* const* devices, 594 const ANeuralNetworksDevice* const* devices,
|
D | NeuralNetworksTypes.h | 6520 typedef struct ANeuralNetworksDevice ANeuralNetworksDevice; typedef
|
D | NeuralNetworksExtensions.h | 51 int ANeuralNetworksDevice_getExtensionSupport(const ANeuralNetworksDevice* device,
|
D | NeuralNetworksWrapper.h | 468 const ANeuralNetworksDevice* device) { 473 const std::vector<const ANeuralNetworksDevice*>& devices) {
|
/packages/modules/NeuralNetworks/runtime/test/fibonacci_extension/ |
D | FibonacciExtensionTest.cpp | 61 ANeuralNetworksDevice* device = nullptr; in SetUp() 94 const std::vector<ANeuralNetworksDevice*> devices) { in checkSupportedOperations() 120 ANeuralNetworksDevice* mFibonacciDevice = nullptr; 121 ANeuralNetworksDevice* mCpuDevice = nullptr; 122 std::vector<ANeuralNetworksDevice*> mDevices; // Fibonacci and CPU devices. 123 std::vector<ANeuralNetworksDevice*> mAllDevices; 348 for (ANeuralNetworksDevice* device : mAllDevices) { in TEST_F()
|
/packages/modules/NeuralNetworks/shim_and_sl/ |
D | ShimDeviceManager.cpp | 83 std::unordered_map<std::string, ANeuralNetworksDevice*> getNamedDevices( in getNamedDevices() 91 std::unordered_map<std::string, ANeuralNetworksDevice*> nameToDevice; in getNamedDevices() 93 ANeuralNetworksDevice* device; in getNamedDevices() 167 ANeuralNetworksDevice* device = iter->second; in registerDevices()
|
D | ShimDevice.cpp | 102 Capabilities getCapabilities(const NnApiSupportLibrary* nnapi, ANeuralNetworksDevice* device) { in getCapabilities() 137 ANeuralNetworksDevice* device) { in getNumberOfCacheFilesNeeded() 149 ANeuralNetworksDevice* device) { in getVendorExtensions() 184 ANeuralNetworksDevice* device, std::string serviceName) in ShimDevice()
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestFree.cpp | 57 std::vector<ANeuralNetworksDevice*> createDeviceList() { in createDeviceList() 58 std::vector<ANeuralNetworksDevice*> devices; in createDeviceList() 63 ANeuralNetworksDevice* device = nullptr; in createDeviceList()
|
D | TestExtensions.cpp | 93 ANeuralNetworksDevice* getDeviceByName(const std::string& name) { in getDeviceByName() 94 ANeuralNetworksDevice* result = nullptr; in getDeviceByName() 99 ANeuralNetworksDevice* device = nullptr; in getDeviceByName() 119 ANeuralNetworksDevice* mDevice;
|
D | TestRemoveDefaultArguments.cpp | 172 ANeuralNetworksDevice* getDeviceByName(const std::string& name) { in getDeviceByName() 173 ANeuralNetworksDevice* result = nullptr; in getDeviceByName() 178 ANeuralNetworksDevice* device = nullptr; in getDeviceByName() 191 ANeuralNetworksDevice* mTestDevice;
|
D | SupportLibraryTestGenerated.cpp | 83 bool checkSupported(const Model& model, ANeuralNetworksDevice* device); 84 std::optional<Compilation> compileModel(const Model& model, ANeuralNetworksDevice* device); 134 bool GeneratedTests::checkSupported(const Model& model, ANeuralNetworksDevice* device) { in checkSupported() 163 ANeuralNetworksDevice* device) { in compileModel() 411 ANeuralNetworksDevice* device = nullptr; in executeOnce() 458 ANeuralNetworksDevice* device = nullptr; in executeMultithreadedSharedCompilation()
|
D | TestCompilationCaching.cpp | 296 void getDeviceWithName(std::string_view deviceName, const ANeuralNetworksDevice** outputDevice) { in getDeviceWithName() 303 ANeuralNetworksDevice* device = nullptr; in getDeviceWithName() 344 const ANeuralNetworksDevice* device = nullptr; in TEST_P() 382 const ANeuralNetworksDevice* device = nullptr; in compileModel()
|
D | TestUpdatability.cpp | 45 ANeuralNetworksDevice* device; in TEST_F()
|
D | TestGpuNnapi.cpp | 244 using NameAndDevice = std::pair<const char*, const ANeuralNetworksDevice*>; 254 ANeuralNetworksDevice* device; in getNnapiDevices() 812 static std::unique_ptr<NnapiExecutor> create(const ANeuralNetworksDevice* device, in create() 834 void initialize(const ANeuralNetworksDevice* device) { in initialize() 1013 const ANeuralNetworksDevice* kDevice = GetParam().second;
|
D | TestMemoryDomain.cpp | 203 std::map<std::string, ANeuralNetworksDevice*> deviceMap; in createCompilation() 207 ANeuralNetworksDevice* device = nullptr; in createCompilation() 213 std::vector<const ANeuralNetworksDevice*> devices(deviceNames.size()); in createCompilation()
|
D | TestValidation.cpp | 896 ANeuralNetworksDevice* device; in TEST_F() 909 ANeuralNetworksDevice* invalidDevices[2] = {device, device}; in TEST_F() 937 ANeuralNetworksDevice* device; in TEST_F() 952 ANeuralNetworksDevice* invalidDevices[2] = {device, device}; in TEST_F() 2782 ANeuralNetworksDevice* device = nullptr; in TEST() 2792 static void deviceStringCheck(std::function<int(const ANeuralNetworksDevice*, const char**)> func) { in deviceStringCheck() argument 2799 ANeuralNetworksDevice* device; in deviceStringCheck() 2818 ANeuralNetworksDevice* device = nullptr; in TEST() 2839 ANeuralNetworksDevice* device; in TEST() 2864 ANeuralNetworksDevice* device; in TEST() [all …]
|
D | TestNeuralNetworksWrapper.h | 255 const ANeuralNetworksDevice* device) { in createForDevice() 259 const Model* model, const std::vector<const ANeuralNetworksDevice*>& devices) { in createForDevices()
|
/packages/modules/NeuralNetworks/runtime/ |
D | NeuralNetworks.cpp | 671 int ANeuralNetworks_getDevice(uint32_t devIndex, ANeuralNetworksDevice** device) { in ANeuralNetworks_getDevice() 681 *device = reinterpret_cast<ANeuralNetworksDevice*>(devices.at(devIndex).get()); in ANeuralNetworks_getDevice() 685 int ANeuralNetworksDevice_getName(const ANeuralNetworksDevice* device, const char** name) { in ANeuralNetworksDevice_getName() 695 int ANeuralNetworksDevice_getVersion(const ANeuralNetworksDevice* device, const char** version) { in ANeuralNetworksDevice_getVersion() 705 int ANeuralNetworksDevice_getType(const ANeuralNetworksDevice* device, int32_t* type) { in ANeuralNetworksDevice_getType() 742 int ANeuralNetworksDevice_getFeatureLevel(const ANeuralNetworksDevice* device, in ANeuralNetworksDevice_getFeatureLevel() 748 Device* d = reinterpret_cast<Device*>(const_cast<ANeuralNetworksDevice*>(device)); in ANeuralNetworksDevice_getFeatureLevel() 757 int ANeuralNetworksDevice_wait(const ANeuralNetworksDevice* device) { in ANeuralNetworksDevice_wait() 767 const ANeuralNetworksModel* model, const ANeuralNetworksDevice* const* devices, in ANeuralNetworksModel_getSupportedOperationsForDevices() 804 Device* d = reinterpret_cast<Device*>(const_cast<ANeuralNetworksDevice*>(devices[i])); in ANeuralNetworksModel_getSupportedOperationsForDevices() [all …]
|
D | NeuralNetworksV2.cpp | 652 int ANeuralNetworks_getDevice(uint32_t devIndex, ANeuralNetworksDevice** device) { in ANeuralNetworks_getDevice() 662 *device = reinterpret_cast<ANeuralNetworksDevice*>(devices.at(devIndex).get()); in ANeuralNetworks_getDevice() 666 int ANeuralNetworksDevice_getName(const ANeuralNetworksDevice* device, const char** name) { in ANeuralNetworksDevice_getName() 676 int ANeuralNetworksDevice_getVersion(const ANeuralNetworksDevice* device, const char** version) { in ANeuralNetworksDevice_getVersion() 686 int ANeuralNetworksDevice_getType(const ANeuralNetworksDevice* device, int32_t* type) { in ANeuralNetworksDevice_getType() 723 int ANeuralNetworksDevice_getFeatureLevel(const ANeuralNetworksDevice* device, in ANeuralNetworksDevice_getFeatureLevel() 729 Device* d = reinterpret_cast<Device*>(const_cast<ANeuralNetworksDevice*>(device)); in ANeuralNetworksDevice_getFeatureLevel() 738 int ANeuralNetworksDevice_wait(const ANeuralNetworksDevice* device) { in ANeuralNetworksDevice_wait() 748 const ANeuralNetworksModel* model, const ANeuralNetworksDevice* const* devices, in ANeuralNetworksModel_getSupportedOperationsForDevices() 785 Device* d = reinterpret_cast<Device*>(const_cast<ANeuralNetworksDevice*>(devices[i])); in ANeuralNetworksModel_getSupportedOperationsForDevices() [all …]
|
D | Manager.h | 238 bool forTest_isCpuDevice(const ANeuralNetworksDevice* device) const { in forTest_isCpuDevice()
|
/packages/modules/NeuralNetworks/shim_and_sl/include/ |
D | ShimDevice.h | 40 ShimDevice(std::shared_ptr<const NnApiSupportLibrary>, ANeuralNetworksDevice*, 82 ANeuralNetworksDevice* mDevice;
|
D | SupportLibraryWrapper.h | 353 const ANeuralNetworksDevice* device) { in createForDevice() 358 const std::vector<const ANeuralNetworksDevice*>& devices) { in createForDevices()
|
/packages/modules/NeuralNetworks/tools/nnapi_info/ |
D | nnapi_info.cpp | 85 ANeuralNetworksDevice* device = nullptr; in main()
|
/packages/modules/NeuralNetworks/runtime/test/fuzzing/ |
D | TestRandomGraph.cpp | 164 ANeuralNetworksDevice* device = nullptr; in SetUpTestCase() 434 static std::map<std::string, ANeuralNetworksDevice*> mDevices; 455 std::map<std::string, ANeuralNetworksDevice*> RandomGraphTest::mDevices;
|