Home
last modified time | relevance | path

Searched refs:intra_op_parallelism_threads (Results 1 – 25 of 29) sorted by relevance

12

/external/tensorflow/tensorflow/core/common_runtime/
Dlocal_device.cc76 int32 intra_op_parallelism_threads = in EigenThreadPoolInfo() local
77 options.config.intra_op_parallelism_threads(); in EigenThreadPoolInfo()
79 if (intra_op_parallelism_threads == 0) { in EigenThreadPoolInfo()
81 intra_op_parallelism_threads = env_num_threads; in EigenThreadPoolInfo()
83 if (intra_op_parallelism_threads == 0) { in EigenThreadPoolInfo()
84 intra_op_parallelism_threads = port::NumSchedulableCPUs(); in EigenThreadPoolInfo()
89 intra_op_parallelism_threads /= port::NUMANumNodes(); in EigenThreadPoolInfo()
95 eigen_worker_threads_.num_threads = intra_op_parallelism_threads; in EigenThreadPoolInfo()
98 intra_op_parallelism_threads); in EigenThreadPoolInfo()
/external/tensorflow/tensorflow/compiler/xla/service/
Dbackend.cc55 int BackendOptions::intra_op_parallelism_threads() const { in intra_op_parallelism_threads() function in xla::BackendOptions
117 computation_placer, options.intra_op_parallelism_threads())); in CreateBackend()
147 int intra_op_parallelism_threads) in Backend() argument
165 const int num_threads = intra_op_parallelism_threads > 0 in Backend()
166 ? intra_op_parallelism_threads in Backend()
Dhlo_module_config.h98 const int intra_op_parallelism_threads) { in set_intra_op_parallelism_threads() argument
99 intra_op_parallelism_threads_ = intra_op_parallelism_threads; in set_intra_op_parallelism_threads()
101 int64 intra_op_parallelism_threads() const { in intra_op_parallelism_threads() function
Dhlo_module_config.cc60 if (intra_op_parallelism_threads() > 0) { in compilation_cache_key()
62 intra_op_parallelism_threads()); in compilation_cache_key()
Dbackend.h56 int intra_op_parallelism_threads() const;
163 int intra_op_parallelism_threads);
Dlocal_service.cc56 .set_intra_op_parallelism_threads(options.intra_op_parallelism_threads()) in NewService()
Dservice.h63 int intra_op_parallelism_threads() const;
/external/tensorflow/tensorflow/compiler/xla/client/
Dclient_library.cc29 int intra_op_parallelism_threads, in LocalClientOptions() argument
33 intra_op_parallelism_threads_(intra_op_parallelism_threads), in LocalClientOptions()
59 int LocalClientOptions::intra_op_parallelism_threads() const { in intra_op_parallelism_threads() function in xla::LocalClientOptions
110 options.intra_op_parallelism_threads()); in GetOrCreateLocalClient()
Dclient_library.h50 int intra_op_parallelism_threads = -1,
64 int intra_op_parallelism_threads() const;
/external/tensorflow/tensorflow/python/framework/
Dconfig.py82 return context.context().intra_op_parallelism_threads
96 context.context().intra_op_parallelism_threads = num_threads
Dconfig_test.py153 context.context().intra_op_parallelism_threads)
/external/tensorflow/tensorflow/python/eager/
Dcontext.py758 def intra_op_parallelism_threads(self): member in Context
759 return self._config.intra_op_parallelism_threads
761 @intra_op_parallelism_threads.setter
762 def intra_op_parallelism_threads(self, num_threads): member in Context
767 self._config.intra_op_parallelism_threads = num_threads
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.config.threading.pbtxt8 name: "intra_op_parallelism_threads"
Dtensorflow.-config-proto.pbtxt13 name: "intra_op_parallelism_threads"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.config.threading.pbtxt8 name: "intra_op_parallelism_threads"
/external/tensorflow/tensorflow/python/distribute/
Ddistribute_coordinator_test.py129 session_config.intra_op_parallelism_threads += 1
829 session_config.intra_op_parallelism_threads)
839 session_config.intra_op_parallelism_threads)
919 self.assertEqual(session_config.intra_op_parallelism_threads, 1)
929 session_config.intra_op_parallelism_threads = 1
/external/tensorflow/tensorflow/contrib/image/python/kernel_tests/
Ddistort_image_ops_test.py263 config.intra_op_parallelism_threads = cpu_count
307 config.intra_op_parallelism_threads = cpu_count
/external/tensorflow/tensorflow/contrib/linear_optimizer/python/
Dsdca_estimator_test.py38 inter_op_parallelism_threads=1, intra_op_parallelism_threads=1)
325 inter_op_parallelism_threads=1, intra_op_parallelism_threads=1)
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Drun_config.py313 intra_op_parallelism_threads=num_cores,
/external/tensorflow/tensorflow/compiler/xla/tests/
Dfusion_test.cc835 const int64 intra_op_parallelism_threads = 24; in BM_ParallelFusion() local
838 client_options.set_intra_op_parallelism_threads(intra_op_parallelism_threads); in BM_ParallelFusion()
898 intra_op_parallelism_threads); in BM_ParallelFusion()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_compiler.cc369 module->config().intra_op_parallelism_threads() > 0 in RunHloPassesAfterLayoutAssn()
370 ? module->config().intra_op_parallelism_threads() in RunHloPassesAfterLayoutAssn()
/external/tensorflow/tensorflow/core/protobuf/
Dconfig.proto323 // parallelized on a pool of intra_op_parallelism_threads.
325 int32 intra_op_parallelism_threads = 2; field
/external/tensorflow/tensorflow/contrib/learn/python/learn/
Dexperiment_test.py313 expected_config_proto.intra_op_parallelism_threads = 15
/external/tensorflow/tensorflow/python/ops/
Dimage_ops_test.py490 config.intra_op_parallelism_threads = cpu_count
520 config.intra_op_parallelism_threads = cpu_count
550 config.intra_op_parallelism_threads = cpu_count
611 config.intra_op_parallelism_threads = cpu_count
654 config.intra_op_parallelism_threads = cpu_count
/external/tensorflow/tensorflow/python/kernel_tests/
Dreader_ops_test.py716 inter_op_parallelism_threads=1, intra_op_parallelism_threads=1)

12