Home
last modified time | relevance | path

Searched refs:GetFactory (Results 1 – 25 of 73) sorted by relevance

123

/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_device_test.cc153 status = DeviceFactory::GetFactory("GPU")->CreateDevices( in TEST_F()
182 status = DeviceFactory::GetFactory("GPU")->CreateDevices( in TEST_F()
208 Status status = DeviceFactory::GetFactory("GPU")->CreateDevices( in TEST_F()
217 Status status = DeviceFactory::GetFactory("GPU")->CreateDevices( in TEST_F()
227 Status status = DeviceFactory::GetFactory("GPU")->CreateDevices( in TEST_F()
237 Status status = DeviceFactory::GetFactory("GPU")->CreateDevices( in TEST_F()
249 Status status = DeviceFactory::GetFactory("GPU")->CreateDevices( in TEST_F()
261 Status status = DeviceFactory::GetFactory("GPU")->CreateDevices( in TEST_F()
275 Status status = DeviceFactory::GetFactory("GPU")->CreateDevices( in TEST_F()
289 TF_CHECK_OK(DeviceFactory::GetFactory("GPU")->CreateDevices( in TEST_F()
[all …]
Dgpu_device_on_non_gpu_machine_test.cc37 TF_CHECK_OK(DeviceFactory::GetFactory("GPU")->CreateDevices( in TEST()
/external/armnn/src/backends/reference/test/
DRefCreateWorkloadTests.cpp44 armnn::RefWorkloadFactory GetFactory() in GetFactory() function
58 RefWorkloadFactory factory = GetFactory(); in RefCreateActivationWorkloadTest()
84 RefWorkloadFactory factory = GetFactory(); in RefCreateElementwiseWorkloadTest()
97 RefWorkloadFactory factory = GetFactory();
114 RefWorkloadFactory factory = GetFactory();
130 RefWorkloadFactory factory = GetFactory();
291 RefWorkloadFactory factory = GetFactory(); in RefCreateBatchNormalizationWorkloadTest()
319 RefWorkloadFactory factory = GetFactory();
385 RefWorkloadFactory factory = GetFactory();
396 RefWorkloadFactory factory = GetFactory();
[all …]
DRefWorkloadFactoryHelper.hpp28 static armnn::RefWorkloadFactory GetFactory( in GetFactory() function
/external/armnn/src/backends/neon/test/
DNeonCreateWorkloadTests.cpp74 NeonWorkloadFactoryHelper::GetFactory(NeonWorkloadFactoryHelper::GetMemoryManager()); in NeonCreateActivationWorkloadTest()
106 NeonWorkloadFactoryHelper::GetFactory(NeonWorkloadFactoryHelper::GetMemoryManager()); in NeonCreateElementwiseWorkloadTest()
202 NeonWorkloadFactoryHelper::GetFactory(NeonWorkloadFactoryHelper::GetMemoryManager()); in NeonCreateBatchNormalizationWorkloadTest()
246 NeonWorkloadFactoryHelper::GetFactory(NeonWorkloadFactoryHelper::GetMemoryManager()); in NeonCreateConvolution2dWorkloadTest()
294 …NeonWorkloadFactoryHelper::GetFactory(NeonWorkloadFactoryHelper::GetMemoryManager(), modelOptions);
314 NeonWorkloadFactoryHelper::GetFactory(NeonWorkloadFactoryHelper::GetMemoryManager()); in NeonCreateDepthWiseConvolutionWorkloadTest()
350 NeonWorkloadFactoryHelper::GetFactory(NeonWorkloadFactoryHelper::GetMemoryManager()); in NeonCreateFullyConnectedWorkloadTest()
393 NeonWorkloadFactoryHelper::GetFactory(NeonWorkloadFactoryHelper::GetMemoryManager()); in NeonCreateNormalizationWorkloadTest()
437 NeonWorkloadFactoryHelper::GetFactory(NeonWorkloadFactoryHelper::GetMemoryManager()); in NeonCreatePooling2dWorkloadTest()
486 NeonWorkloadFactoryHelper::GetFactory(NeonWorkloadFactoryHelper::GetMemoryManager()); in NeonCreatePreluWorkloadTest()
[all …]
DNeonLayerSupportTests.cpp26 NeonWorkloadFactoryHelper::GetFactory(NeonWorkloadFactoryHelper::GetMemoryManager());
33 NeonWorkloadFactoryHelper::GetFactory(NeonWorkloadFactoryHelper::GetMemoryManager());
40 NeonWorkloadFactoryHelper::GetFactory(NeonWorkloadFactoryHelper::GetMemoryManager());
47 NeonWorkloadFactoryHelper::GetFactory(NeonWorkloadFactoryHelper::GetMemoryManager());
54 NeonWorkloadFactoryHelper::GetFactory(NeonWorkloadFactoryHelper::GetMemoryManager());
/external/armnn/src/backends/cl/test/
DClCreateWorkloadTests.cpp42 ClWorkloadFactoryHelper::GetFactory(ClWorkloadFactoryHelper::GetMemoryManager()); in ClCreateActivationWorkloadTest()
74 ClWorkloadFactoryHelper::GetFactory(ClWorkloadFactoryHelper::GetMemoryManager()); in ClCreateElementwiseWorkloadTest()
152 ClWorkloadFactoryHelper::GetFactory(ClWorkloadFactoryHelper::GetMemoryManager()); in ClCreateElementwiseUnaryWorkloadTest()
179 ClWorkloadFactoryHelper::GetFactory(ClWorkloadFactoryHelper::GetMemoryManager()); in ClCreateBatchNormalizationWorkloadTest()
234 ClWorkloadFactoryHelper::GetFactory(ClWorkloadFactoryHelper::GetMemoryManager());
253 ClWorkloadFactoryHelper::GetFactory(ClWorkloadFactoryHelper::GetMemoryManager());
274 ClWorkloadFactoryHelper::GetFactory(ClWorkloadFactoryHelper::GetMemoryManager()); in ClConvolution2dWorkloadTest()
326 … ClWorkloadFactoryHelper::GetFactory(ClWorkloadFactoryHelper::GetMemoryManager(), modelOptions);
347 ClWorkloadFactoryHelper::GetFactory(ClWorkloadFactoryHelper::GetMemoryManager());
493 ClWorkloadFactoryHelper::GetFactory(ClWorkloadFactoryHelper::GetMemoryManager()); in ClDepthwiseConvolutionWorkloadTest()
[all …]
DClLayerSupportTests.cpp28 ClWorkloadFactoryHelper::GetFactory(ClWorkloadFactoryHelper::GetMemoryManager());
35 ClWorkloadFactoryHelper::GetFactory(ClWorkloadFactoryHelper::GetMemoryManager());
42 ClWorkloadFactoryHelper::GetFactory(ClWorkloadFactoryHelper::GetMemoryManager());
49 ClWorkloadFactoryHelper::GetFactory(ClWorkloadFactoryHelper::GetMemoryManager());
56 ClWorkloadFactoryHelper::GetFactory(ClWorkloadFactoryHelper::GetMemoryManager());
/external/tensorflow/tensorflow/core/framework/
Ddevice_factory.cc113 DeviceFactory* DeviceFactory::GetFactory(const string& device_type) { in GetFactory() function in tensorflow::DeviceFactory
130 auto cpu_factory = GetFactory("CPU"); in ListAllPhysicalDevices()
175 auto cpu_factory = GetFactory("CPU"); in GetAnyDeviceDetails()
212 auto cpu_factory = GetFactory("CPU"); in AddCpuDevices()
233 auto cpu_factory = GetFactory("CPU"); in AddDevices()
249 auto device_factory = GetFactory(type); in NewDevice()
/external/cronet/net/dns/
Ddns_config_service_unittest.cc149 HostsReadingTestDnsConfigService::HostsParserFactory GetFactory();
168 MockHostsParserFactory::GetFactory() { in GetFactory() function in net::__anon12aba8170111::MockHostsParserFactory
326 std::make_unique<HostsReadingTestDnsConfigService>(parser.GetFactory()); in TEST_F()
345 std::make_unique<HostsReadingTestDnsConfigService>(parser.GetFactory()); in TEST_F()
371 std::make_unique<HostsReadingTestDnsConfigService>(parser.GetFactory()); in TEST_F()
401 std::make_unique<HostsReadingTestDnsConfigService>(parser.GetFactory()); in TEST_F()
428 std::make_unique<HostsReadingTestDnsConfigService>(parser.GetFactory()); in TEST_F()
454 std::make_unique<HostsReadingTestDnsConfigService>(parser.GetFactory()); in TEST_F()
478 std::make_unique<HostsReadingTestDnsConfigService>(parser.GetFactory()); in TEST_F()
515 std::make_unique<HostsReadingTestDnsConfigService>(parser.GetFactory()); in TEST_F()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dserver_lib.cc49 Status ServerFactory::GetFactory(const ServerDef& server_def, in GetFactory() function in tensorflow::ServerFactory
75 TF_RETURN_IF_ERROR(ServerFactory::GetFactory(server_def, &factory)); in NewServer()
85 TF_RETURN_IF_ERROR(ServerFactory::GetFactory(server_def, &factory)); in NewServerWithOptions()
/external/clang/lib/StaticAnalyzer/Core/
DBlockCounter.cpp54 static inline CountMap::Factory& GetFactory(void *F) { in GetFactory() function
77 return BlockCounter(GetFactory(F).add(GetMap(BC.Data), in IncrementCount()
84 return BlockCounter(GetFactory(F).getEmptyMap().getRoot()); in GetEmptyCounter()
/external/tensorflow/tensorflow/compiler/xla/stream_executor/
Dplugin_registry.h94 port::StatusOr<FactoryT> GetFactory(Platform::Id platform_id,
101 port::StatusOr<FactoryT> GetFactory(PlatformKind platform_kind,
170 port::StatusOr<PluginRegistry::FACTORY_TYPE> PluginRegistry::GetFactory( \
173 port::StatusOr<PluginRegistry::FACTORY_TYPE> PluginRegistry::GetFactory( \
Dplugin_registry.cc213 port::StatusOr<PluginRegistry::FACTORY_TYPE> PluginRegistry::GetFactory( \
235 port::StatusOr<PluginRegistry::FACTORY_TYPE> PluginRegistry::GetFactory( \
243 return GetFactory<PluginRegistry::FACTORY_TYPE>(iter->second, plugin_id); \
/external/armnn/src/backends/backendsCommon/test/
DBackendRegistryTests.cpp70 auto factoryFunction = BackendRegistryInstance().GetFactory("HelloWorld");
98 auto factoryFunction = BackendRegistryInstance().GetFactory("HelloWorld");
132 auto factoryFunc = BackendRegistryInstance().GetFactory(mockBackendId);
/external/armnn/src/armnnTestUtils/
DUnitTests.hpp85 FactoryType workloadFactory = WorkloadFactoryHelper<FactoryType>::GetFactory(memoryManager); in RunTestFunction()
101 FactoryType workloadFactory = WorkloadFactoryHelper<FactoryType>::GetFactory(memoryManager); in RunTestFunctionUsingTensorHandleFactory()
145 FactoryType workloadFactory = WorkloadFactoryHelper<FactoryType>::GetFactory(memoryManager); in CompareRefTestFunction()
157 FactoryType workloadFactory = WorkloadFactoryHelper<FactoryType>::GetFactory(memoryManager); in CompareRefTestFunctionUsingTensorHandleFactory()
/external/armnn/include/armnnTestUtils/
DMemCopyTestImpl.hpp87 GetFactory(const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager = nullptr) in GetFactory() function
109 …SrcWorkloadFactory srcWorkloadFactory = MemCopyTestHelper<SrcWorkloadFactory>::GetFactory(srcMemor… in MemCopyTest()
110 …DstWorkloadFactory dstWorkloadFactory = MemCopyTestHelper<DstWorkloadFactory>::GetFactory(dstMemor… in MemCopyTest()
/external/tensorflow/tensorflow/compiler/xla/stream_executor/host/
Dhost_gpu_executor.cc292 ->GetFactory<PluginRegistry::BlasFactory>(kHostPlatformId, in SupportsBlas()
300 registry->GetFactory<PluginRegistry::BlasFactory>(kHostPlatformId, in CreateBlas()
313 ->GetFactory<PluginRegistry::FftFactory>(kHostPlatformId, in SupportsFft()
321 registry->GetFactory<PluginRegistry::FftFactory>(kHostPlatformId, in CreateFft()
334 ->GetFactory<PluginRegistry::RngFactory>(kHostPlatformId, in SupportsRng()
342 registry->GetFactory<PluginRegistry::RngFactory>(kHostPlatformId, in CreateRng()
/external/armnn/src/backends/backendsCommon/
DTensorHandleFactoryRegistry.hpp39 ITensorHandleFactory* GetFactory(ITensorHandleFactory::FactoryId id) const;
42 ITensorHandleFactory* GetFactory(ITensorHandleFactory::FactoryId id,
DTensorHandleFactoryRegistry.cpp39 ITensorHandleFactory* TensorHandleFactoryRegistry::GetFactory(ITensorHandleFactory::FactoryId id) c… in GetFactory() function in armnn::TensorHandleFactoryRegistry
52 ITensorHandleFactory* TensorHandleFactoryRegistry::GetFactory(ITensorHandleFactory::FactoryId id, in GetFactory() function in armnn::TensorHandleFactoryRegistry
/external/tensorflow/tensorflow/core/common_runtime/
Dexecutor_factory.cc61 Status ExecutorFactory::GetFactory(const string& executor_type, in GetFactory() function in tensorflow::ExecutorFactory
80 TF_RETURN_IF_ERROR(ExecutorFactory::GetFactory(executor_type, &factory)); in NewExecutor()
Dsession.cc78 Status s = SessionFactory::GetFactory(options, &factory); in NewSession()
99 TF_RETURN_IF_ERROR(SessionFactory::GetFactory(options, &factory)); in Reset()
/external/armnn/src/armnn/test/
DTensorHandleStrategyTest.cpp289 CHECK((registry.GetFactory("Non-existing Backend") == nullptr));
290 CHECK((registry.GetFactory("TestHandleFactoryA1") != nullptr));
291 CHECK((registry.GetFactory("TestHandleFactoryA2") != nullptr));
292 CHECK((registry.GetFactory("TestHandleFactoryB1") != nullptr));
/external/v4l2_codec2/components/
DV4L2ComponentStore.cpp88 auto factory = GetFactory(name); in createComponent()
104 auto factory = GetFactory(name); in createInterface()
164 ::C2ComponentFactory* V4L2ComponentStore::GetFactory(const C2String& name) { in GetFactory() function in android::V4L2ComponentStore
/external/armnn/src/backends/aclCommon/test/
DMemCopyTests.cpp57 static armnn::NeonWorkloadFactory GetFactory( in GetFactory() function
76 static armnn::ClWorkloadFactory GetFactory( in GetFactory() function

123