/frameworks/ml/nn/runtime/include/ |
D | NeuralNetworks.h | 6272 typedef struct ANeuralNetworksDevice ANeuralNetworksDevice; typedef 6610 int ANeuralNetworks_getDevice(uint32_t devIndex, ANeuralNetworksDevice** device) 6629 int ANeuralNetworksDevice_getName(const ANeuralNetworksDevice* device, const char** name) 6648 int ANeuralNetworksDevice_getType(const ANeuralNetworksDevice* device, int32_t* type) 6678 int ANeuralNetworksDevice_getVersion(const ANeuralNetworksDevice* device, const char** version) 6697 int ANeuralNetworksDevice_getFeatureLevel(const ANeuralNetworksDevice* device, 6716 int ANeuralNetworksDevice_wait(const ANeuralNetworksDevice* device) __INTRODUCED_IN(30); 6738 const ANeuralNetworksModel* model, const ANeuralNetworksDevice* const* devices, 6769 const ANeuralNetworksDevice* const* devices,
|
D | NeuralNetworksExtensions.h | 53 int ANeuralNetworksDevice_getExtensionSupport(const ANeuralNetworksDevice* device,
|
/frameworks/ml/nn/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 | 87 ANeuralNetworksDevice* getDeviceByName(const std::string& name) { in getDeviceByName() 88 ANeuralNetworksDevice* result = nullptr; in getDeviceByName() 93 ANeuralNetworksDevice* device = nullptr; in getDeviceByName() 113 ANeuralNetworksDevice* mDevice;
|
D | TestRemoveDefaultArguments.cpp | 171 ANeuralNetworksDevice* getDeviceByName(const std::string& name) { in getDeviceByName() 172 ANeuralNetworksDevice* result = nullptr; in getDeviceByName() 177 ANeuralNetworksDevice* device = nullptr; in getDeviceByName() 190 ANeuralNetworksDevice* mTestDevice;
|
D | TestCompilationCaching.cpp | 285 void getDeviceWithName(std::string_view deviceName, const ANeuralNetworksDevice** outputDevice) { in getDeviceWithName() 292 ANeuralNetworksDevice* device = nullptr; in getDeviceWithName() 333 const ANeuralNetworksDevice* device = nullptr; in TEST_P() 372 const ANeuralNetworksDevice* device = nullptr; in compileModel()
|
D | TestMemoryDomain.cpp | 190 std::map<std::string, ANeuralNetworksDevice*> deviceMap; in createCompilation() 194 ANeuralNetworksDevice* device = nullptr; in createCompilation() 200 std::vector<const ANeuralNetworksDevice*> devices(deviceNames.size()); in createCompilation()
|
D | TestValidation.cpp | 868 ANeuralNetworksDevice* device; in TEST_F() 881 ANeuralNetworksDevice* invalidDevices[2] = {device, device}; in TEST_F() 909 ANeuralNetworksDevice* device; in TEST_F() 924 ANeuralNetworksDevice* invalidDevices[2] = {device, device}; in TEST_F() 2213 ANeuralNetworksDevice* device = nullptr; in TEST() 2223 static void deviceStringCheck(std::function<int(const ANeuralNetworksDevice*, const char**)> func) { in deviceStringCheck() argument 2230 ANeuralNetworksDevice* device; in deviceStringCheck() 2249 ANeuralNetworksDevice* device = nullptr; in TEST() 2270 ANeuralNetworksDevice* device; in TEST() 2295 ANeuralNetworksDevice* device; in TEST() [all …]
|
D | TestNeuralNetworksWrapper.h | 249 const ANeuralNetworksDevice* device) { in createForDevice() 253 const Model* model, const std::vector<const ANeuralNetworksDevice*>& devices) { in createForDevices()
|
D | TestExecution.cpp | 589 std::vector<ANeuralNetworksDevice*> mDevices; in TestIntrospectionCompilation() 595 ANeuralNetworksDevice* device = nullptr; in TestIntrospectionCompilation()
|
D | TestIntrospectionControl.cpp | 152 ANeuralNetworksDevice* device = nullptr; in selectDeviceByName() 194 std::vector<ANeuralNetworksDevice*> mDevices;
|
/frameworks/ml/nn/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()
|
/frameworks/ml/nn/runtime/ |
D | NeuralNetworks.cpp | 629 int ANeuralNetworks_getDevice(uint32_t devIndex, ANeuralNetworksDevice** device) { in ANeuralNetworks_getDevice() 639 *device = reinterpret_cast<ANeuralNetworksDevice*>(devices.at(devIndex).get()); in ANeuralNetworks_getDevice() 643 int ANeuralNetworksDevice_getName(const ANeuralNetworksDevice* device, const char** name) { in ANeuralNetworksDevice_getName() 653 int ANeuralNetworksDevice_getVersion(const ANeuralNetworksDevice* device, const char** version) { in ANeuralNetworksDevice_getVersion() 663 int ANeuralNetworksDevice_getType(const ANeuralNetworksDevice* device, int32_t* type) { in ANeuralNetworksDevice_getType() 677 int ANeuralNetworksDevice_getFeatureLevel(const ANeuralNetworksDevice* device, in ANeuralNetworksDevice_getFeatureLevel() 683 Device* d = reinterpret_cast<Device*>(const_cast<ANeuralNetworksDevice*>(device)); in ANeuralNetworksDevice_getFeatureLevel() 692 int ANeuralNetworksDevice_wait(const ANeuralNetworksDevice* device) { in ANeuralNetworksDevice_wait() 702 const ANeuralNetworksModel* model, const ANeuralNetworksDevice* const* devices, in ANeuralNetworksModel_getSupportedOperationsForDevices() 739 Device* d = reinterpret_cast<Device*>(const_cast<ANeuralNetworksDevice*>(devices[i])); in ANeuralNetworksModel_getSupportedOperationsForDevices() [all …]
|
D | Manager.h | 187 bool forTest_isCpuDevice(const ANeuralNetworksDevice* device) const { in forTest_isCpuDevice()
|
/frameworks/ml/nn/runtime/test/fuzzing/ |
D | TestRandomGraph.cpp | 162 ANeuralNetworksDevice* device = nullptr; in SetUpTestCase() 432 static std::map<std::string, ANeuralNetworksDevice*> mDevices; 453 std::map<std::string, ANeuralNetworksDevice*> RandomGraphTest::mDevices;
|
/frameworks/ml/nn/tools/api/ |
D | NeuralNetworks.t | 691 * ANeuralNetworksDevice is an opaque type that represents a device. 698 typedef struct ANeuralNetworksDevice ANeuralNetworksDevice; 1036 int ANeuralNetworks_getDevice(uint32_t devIndex, ANeuralNetworksDevice** device) 1055 int ANeuralNetworksDevice_getName(const ANeuralNetworksDevice* device, const char** name) 1074 int ANeuralNetworksDevice_getType(const ANeuralNetworksDevice* device, int32_t* type) 1104 int ANeuralNetworksDevice_getVersion(const ANeuralNetworksDevice* device, const char** version) 1123 int ANeuralNetworksDevice_getFeatureLevel(const ANeuralNetworksDevice* device, 1142 int ANeuralNetworksDevice_wait(const ANeuralNetworksDevice* device) __INTRODUCED_IN(30); 1164 const ANeuralNetworksModel* model, const ANeuralNetworksDevice* const* devices, 1195 const ANeuralNetworksDevice* const* devices,
|