/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, 330 const ANeuralNetworksDevice* const* devices, 432 int (*ANeuralNetworksDevice_getExtensionSupport)(const ANeuralNetworksDevice* device, 442 int (*ANeuralNetworksDevice_getFeatureLevel)(const ANeuralNetworksDevice* device, 451 int (*ANeuralNetworksDevice_getName)(const ANeuralNetworksDevice* device, const char** name); [all …]
|
/packages/modules/NeuralNetworks/runtime/include/ |
D | NeuralNetworks.h | 360 int ANeuralNetworks_getDevice(uint32_t devIndex, ANeuralNetworksDevice** device) 380 int ANeuralNetworksDevice_getName(const ANeuralNetworksDevice* device, const char** name) 399 int ANeuralNetworksDevice_getType(const ANeuralNetworksDevice* device, int32_t* type) 429 int ANeuralNetworksDevice_getVersion(const ANeuralNetworksDevice* device, const char** version) 456 int ANeuralNetworksDevice_getFeatureLevel(const ANeuralNetworksDevice* device, 473 int ANeuralNetworksDevice_wait(const ANeuralNetworksDevice* device) __NNAPI_INTRODUCED_IN(30); 493 const ANeuralNetworksModel* model, const ANeuralNetworksDevice* const* devices, 524 const ANeuralNetworksDevice* const* devices,
|
D | NeuralNetworksTypes.h | 6328 typedef struct ANeuralNetworksDevice ANeuralNetworksDevice; typedef
|
D | NeuralNetworksExtensions.h | 51 int ANeuralNetworksDevice_getExtensionSupport(const ANeuralNetworksDevice* device,
|
D | NeuralNetworksWrapper.h | 455 const ANeuralNetworksDevice* device) { 460 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() 154 ANeuralNetworksDevice* device = iter->second; in registerDevices()
|
D | ShimDevice.cpp | 101 Capabilities getCapabilities(const NnApiSupportLibrary* nnapi, ANeuralNetworksDevice* device) { in getCapabilities() 136 ANeuralNetworksDevice* device) { in getNumberOfCacheFilesNeeded() 148 ANeuralNetworksDevice* device) { in getVendorExtensions() 182 ANeuralNetworksDevice* device, std::string serviceName) in ShimDevice()
|
/packages/modules/NeuralNetworks/runtime/ |
D | NeuralNetworks.cpp | 654 int ANeuralNetworks_getDevice(uint32_t devIndex, ANeuralNetworksDevice** device) { in ANeuralNetworks_getDevice() 664 *device = reinterpret_cast<ANeuralNetworksDevice*>(devices.at(devIndex).get()); in ANeuralNetworks_getDevice() 668 int ANeuralNetworksDevice_getName(const ANeuralNetworksDevice* device, const char** name) { in ANeuralNetworksDevice_getName() 678 int ANeuralNetworksDevice_getVersion(const ANeuralNetworksDevice* device, const char** version) { in ANeuralNetworksDevice_getVersion() 688 int ANeuralNetworksDevice_getType(const ANeuralNetworksDevice* device, int32_t* type) { in ANeuralNetworksDevice_getType() 702 int ANeuralNetworksDevice_getFeatureLevel(const ANeuralNetworksDevice* device, in ANeuralNetworksDevice_getFeatureLevel() 708 Device* d = reinterpret_cast<Device*>(const_cast<ANeuralNetworksDevice*>(device)); in ANeuralNetworksDevice_getFeatureLevel() 717 int ANeuralNetworksDevice_wait(const ANeuralNetworksDevice* device) { in ANeuralNetworksDevice_wait() 727 const ANeuralNetworksModel* model, const ANeuralNetworksDevice* const* devices, in ANeuralNetworksModel_getSupportedOperationsForDevices() 764 Device* d = reinterpret_cast<Device*>(const_cast<ANeuralNetworksDevice*>(devices[i])); in ANeuralNetworksModel_getSupportedOperationsForDevices() [all …]
|
D | Manager.h | 221 bool forTest_isCpuDevice(const ANeuralNetworksDevice* device) const { in forTest_isCpuDevice()
|
/packages/modules/NeuralNetworks/runtime/test/ |
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 | TestFree.cpp | 57 std::vector<ANeuralNetworksDevice*> createDeviceList() { in createDeviceList() 58 std::vector<ANeuralNetworksDevice*> devices; in createDeviceList() 63 ANeuralNetworksDevice* device = nullptr; in createDeviceList()
|
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 | 73 bool checkSupported(const Model& model, ANeuralNetworksDevice* device); 74 std::optional<Compilation> compileModel(const Model& model, ANeuralNetworksDevice* device); 125 bool GeneratedTests::checkSupported(const Model& model, ANeuralNetworksDevice* device) { in checkSupported() 154 ANeuralNetworksDevice* device) { in compileModel() 394 ANeuralNetworksDevice* device = nullptr; in executeOnce() 441 ANeuralNetworksDevice* device = nullptr; in executeMultithreadedSharedCompilation()
|
D | TestCompilationCaching.cpp | 295 void getDeviceWithName(std::string_view deviceName, const ANeuralNetworksDevice** outputDevice) { in getDeviceWithName() 302 ANeuralNetworksDevice* device = nullptr; in getDeviceWithName() 343 const ANeuralNetworksDevice* device = nullptr; in TEST_P() 382 const ANeuralNetworksDevice* device = nullptr; in compileModel()
|
D | TestGpuNnapi.cpp | 237 using NameAndDevice = std::pair<const char*, const ANeuralNetworksDevice*>; 247 ANeuralNetworksDevice* device; in getNnapiDevices() 803 static std::unique_ptr<NnapiExecutor> create(const ANeuralNetworksDevice* device, in create() 825 void initialize(const ANeuralNetworksDevice* device) { in initialize() 1001 const ANeuralNetworksDevice* kDevice = GetParam().second;
|
D | TestValidation.cpp | 874 ANeuralNetworksDevice* device; in TEST_F() 887 ANeuralNetworksDevice* invalidDevices[2] = {device, device}; in TEST_F() 915 ANeuralNetworksDevice* device; in TEST_F() 930 ANeuralNetworksDevice* invalidDevices[2] = {device, device}; in TEST_F() 2708 ANeuralNetworksDevice* device = nullptr; in TEST() 2718 static void deviceStringCheck(std::function<int(const ANeuralNetworksDevice*, const char**)> func) { in deviceStringCheck() argument 2725 ANeuralNetworksDevice* device; in deviceStringCheck() 2744 ANeuralNetworksDevice* device = nullptr; in TEST() 2765 ANeuralNetworksDevice* device; in TEST() 2790 ANeuralNetworksDevice* device; in TEST() [all …]
|
D | TestMemoryDomain.cpp | 196 std::map<std::string, ANeuralNetworksDevice*> deviceMap; in createCompilation() 200 ANeuralNetworksDevice* device = nullptr; in createCompilation() 206 std::vector<const ANeuralNetworksDevice*> devices(deviceNames.size()); in createCompilation()
|
D | TestUpdatability.cpp | 39 ANeuralNetworksDevice* device; in TEST_F()
|
D | TestNeuralNetworksWrapper.h | 253 const ANeuralNetworksDevice* device) { in createForDevice() 257 const Model* model, const std::vector<const ANeuralNetworksDevice*>& devices) { in createForDevices()
|
D | TestExecution.cpp | 624 std::vector<ANeuralNetworksDevice*> mDevices; in TestIntrospectionCompilation() 630 ANeuralNetworksDevice* device = nullptr; in TestIntrospectionCompilation()
|
/packages/modules/NeuralNetworks/shim_and_sl/include/ |
D | ShimDevice.h | 40 ShimDevice(std::shared_ptr<const NnApiSupportLibrary>, ANeuralNetworksDevice*, 71 ANeuralNetworksDevice* mDevice;
|
D | SupportLibraryWrapper.h | 351 const ANeuralNetworksDevice* device) { in createForDevice() 356 const std::vector<const ANeuralNetworksDevice*>& devices) { in createForDevices()
|
/packages/modules/NeuralNetworks/runtime/test/fuzzing/ |
D | TestRandomGraph.cpp | 160 ANeuralNetworksDevice* device = nullptr; in SetUpTestCase() 430 static std::map<std::string, ANeuralNetworksDevice*> mDevices; 451 std::map<std::string, ANeuralNetworksDevice*> RandomGraphTest::mDevices;
|
/packages/modules/NeuralNetworks/tools/api/ |
D | NeuralNetworksTypes.t | 677 * ANeuralNetworksDevice is an opaque type that represents a device. 684 typedef struct ANeuralNetworksDevice ANeuralNetworksDevice;
|