Home
last modified time | relevance | path

Searched refs:ANeuralNetworksDevice (Results 1 – 11 of 11) sorted by relevance

/frameworks/ml/nn/runtime/include/
DNeuralNetworks.h5317 typedef struct ANeuralNetworksDevice ANeuralNetworksDevice; typedef
5343 int ANeuralNetworks_getDevice(uint32_t devIndex, ANeuralNetworksDevice** device)
5361 int ANeuralNetworksDevice_getName(const ANeuralNetworksDevice* device, const char** name)
5380 int ANeuralNetworksDevice_getType(const ANeuralNetworksDevice* device, int32_t* type)
5410 int ANeuralNetworksDevice_getVersion(const ANeuralNetworksDevice* device, const char** version)
5429 int ANeuralNetworksDevice_getFeatureLevel(const ANeuralNetworksDevice* device,
5450 const ANeuralNetworksModel* model, const ANeuralNetworksDevice* const* devices,
5477 const ANeuralNetworksDevice* const* devices,
DNeuralNetworksExtensions.h53 int ANeuralNetworksDevice_getExtensionSupport(const ANeuralNetworksDevice* device,
/frameworks/ml/nn/runtime/test/
DTestExtensions.cpp83 ANeuralNetworksDevice* getDeviceByName(const std::string& name) { in getDeviceByName()
84 ANeuralNetworksDevice* result = nullptr; in getDeviceByName()
89 ANeuralNetworksDevice* device = nullptr; in getDeviceByName()
109 ANeuralNetworksDevice* mDevice;
DTestValidation.cpp628 ANeuralNetworksDevice* device; in TEST_F()
641 ANeuralNetworksDevice* invalidDevices[2] = {device, device}; in TEST_F()
669 ANeuralNetworksDevice* device; in TEST_F()
684 ANeuralNetworksDevice* invalidDevices[2] = {device, device}; in TEST_F()
1420 ANeuralNetworksDevice* device = nullptr; in TEST()
1430 static void deviceStringCheck(std::function<int(const ANeuralNetworksDevice*, const char**)> func) { in deviceStringCheck() argument
1437 ANeuralNetworksDevice* device; in deviceStringCheck()
1456 ANeuralNetworksDevice* device = nullptr; in TEST()
1477 ANeuralNetworksDevice* device; in TEST()
1502 ANeuralNetworksDevice* device; in TEST()
[all …]
DTestCompilationCaching.cpp270 std::vector<ANeuralNetworksDevice*> devices; in compileModel()
272 ANeuralNetworksDevice* device = nullptr; in compileModel()
DTestExecution.cpp342 std::vector<ANeuralNetworksDevice*> mDevices; in TestIntrospectionCompilation()
348 ANeuralNetworksDevice* device = nullptr; in TestIntrospectionCompilation()
DTestIntrospectionControl.cpp137 ANeuralNetworksDevice* device = nullptr; in selectDeviceByName()
179 std::vector<ANeuralNetworksDevice*> mDevices;
/frameworks/ml/nn/runtime/
DNeuralNetworks.cpp562 int ANeuralNetworks_getDevice(uint32_t devIndex, ANeuralNetworksDevice** device) { in ANeuralNetworks_getDevice()
572 *device = reinterpret_cast<ANeuralNetworksDevice*>(devices.at(devIndex).get()); in ANeuralNetworks_getDevice()
576 int ANeuralNetworksDevice_getName(const ANeuralNetworksDevice* device, const char** name) { in ANeuralNetworksDevice_getName()
586 int ANeuralNetworksDevice_getVersion(const ANeuralNetworksDevice* device, const char** version) { in ANeuralNetworksDevice_getVersion()
596 int ANeuralNetworksDevice_getType(const ANeuralNetworksDevice* device, int32_t* type) { in ANeuralNetworksDevice_getType()
610 int ANeuralNetworksDevice_getFeatureLevel(const ANeuralNetworksDevice* device, in ANeuralNetworksDevice_getFeatureLevel()
616 Device* d = reinterpret_cast<Device*>(const_cast<ANeuralNetworksDevice*>(device)); in ANeuralNetworksDevice_getFeatureLevel()
626 const ANeuralNetworksModel* model, const ANeuralNetworksDevice* const* devices, in ANeuralNetworksModel_getSupportedOperationsForDevices()
664 Device* d = reinterpret_cast<Device*>(const_cast<ANeuralNetworksDevice*>(devices[i])); in ANeuralNetworksModel_getSupportedOperationsForDevices()
676 const ANeuralNetworksDevice* const* devices, in ANeuralNetworksCompilation_createForDevices()
[all …]
DManager.h152 bool forTest_isCpuDevice(const ANeuralNetworksDevice* device) const { in forTest_isCpuDevice()
/frameworks/ml/nn/runtime/test/fibonacci_extension/
DFibonacciExtensionTest.cpp59 ANeuralNetworksDevice* fibonacciDevice = nullptr; in SetUp()
60 ANeuralNetworksDevice* cpuDevice = nullptr; in SetUp()
62 ANeuralNetworksDevice* device = nullptr; in SetUp()
115 std::vector<ANeuralNetworksDevice*> mDevices;
/frameworks/ml/nn/runtime/test/fuzzing/
DTestRandomGraph.cpp125 bool initialize(const test_wrapper::Model* model, const ANeuralNetworksDevice* device) { in initialize()
162 ANeuralNetworksDevice* device = nullptr; in SetUpTestCase()
355 static std::map<std::string, ANeuralNetworksDevice*> mDevices;
371 std::map<std::string, ANeuralNetworksDevice*> RandomGraphTest::mDevices;