Home
last modified time | relevance | path

Searched refs:supportedOps (Results 1 – 7 of 7) sorted by relevance

/packages/modules/NeuralNetworks/runtime/test/
DSupportLibraryTestGenerated.cpp127 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()
DTestValidation.cpp912 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()
DTestIntrospectionControl.cpp78 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/
DShimDevice.cpp491 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/
DNeuralNetworks.cpp728 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/
DNeuralNetworks.h494 uint32_t numDevices, bool* supportedOps) __NNAPI_INTRODUCED_IN(29);
/packages/modules/NeuralNetworks/shim_and_sl/public/
DNeuralNetworksSupportLibraryImpl.h842 uint32_t numDevices, bool* supportedOps);