Searched refs:supportedOps (Results 1 – 7 of 7) sorted by relevance
/packages/modules/NeuralNetworks/runtime/test/ |
D | SupportLibraryTestGenerated.cpp | 127 std::array<bool, MAX_NUM_OPS> supportedOps; in checkSupported() local 129 supportedOps[i] = true; in checkSupported() 132 model.getHandle(), &device, /*numDevices=*/1, supportedOps.data()), in checkSupported() 135 std::all_of(supportedOps.begin(), supportedOps.end(), [](bool v) { return v; }); in checkSupported()
|
D | TestValidation.cpp | 912 bool supportedOps[20]; in TEST_F() local 913 ASSERT_LE(mNumOperations, sizeof(supportedOps) / sizeof(supportedOps[0])); in TEST_F() 918 supportedOps), in TEST_F() 926 supportedOps), in TEST_F() 932 supportedOps), in TEST_F() 937 supportedOps), in TEST_F() 942 supportedOps), in TEST_F() 947 ANeuralNetworksModel_getSupportedOperationsForDevices(mModel, nullptr, 1, supportedOps), in TEST_F()
|
D | TestIntrospectionControl.cpp | 78 const std::vector<bool>& supportedOps) in TestDriver() argument 79 : SampleDriver(name), mCapabilities(capabilities), mSupportedOps(supportedOps) {} in TestDriver() 125 DeviceSpecification(const std::string& name, float perf, std::vector<bool>& supportedOps) in DeviceSpecification() 126 : mName(name), mSupportedOps(supportedOps) { in DeviceSpecification()
|
/packages/modules/NeuralNetworks/shim_and_sl/ |
D | ShimDevice.cpp | 491 auto supportedOps = std::make_unique<bool[]>(numOperations); in getSupportedOperations() local 494 annModel, &mDevice, /*numDevices=*/1, supportedOps.get()); in getSupportedOperations() 497 std::copy(supportedOps.get(), supportedOps.get() + numOperations, supportedOperations->begin()); in getSupportedOperations()
|
/packages/modules/NeuralNetworks/runtime/ |
D | NeuralNetworks.cpp | 728 uint32_t numDevices, bool* supportedOps) { in ANeuralNetworksModel_getSupportedOperationsForDevices() argument 730 if (model == nullptr || devices == nullptr || supportedOps == nullptr) { in ANeuralNetworksModel_getSupportedOperationsForDevices() 749 std::fill(supportedOps, supportedOps + opMap.size(), false); in ANeuralNetworksModel_getSupportedOperationsForDevices() 769 supportedOps[originalIdx] |= supportsByDevice[j]; in ANeuralNetworksModel_getSupportedOperationsForDevices()
|
/packages/modules/NeuralNetworks/runtime/include/ |
D | NeuralNetworks.h | 494 uint32_t numDevices, bool* supportedOps) __NNAPI_INTRODUCED_IN(29);
|
/packages/modules/NeuralNetworks/shim_and_sl/public/ |
D | NeuralNetworksSupportLibraryImpl.h | 842 uint32_t numDevices, bool* supportedOps);
|