/external/tensorflow/tensorflow/core/platform/default/ |
D | mutex.h | 102 class SCOPED_LOCKABLE tf_shared_lock { 106 explicit tf_shared_lock(mutex_type& mu) SHARED_LOCK_FUNCTION(mu) : mu_(&mu) { in tf_shared_lock() function 110 tf_shared_lock(mutex_type& mu, std::try_to_lock_t) SHARED_LOCK_FUNCTION(mu) in tf_shared_lock() function 119 tf_shared_lock(tf_shared_lock&& ml) noexcept SHARED_LOCK_FUNCTION(ml.mu_) in tf_shared_lock() function 123 ~tf_shared_lock() UNLOCK_FUNCTION() { in UNLOCK_FUNCTION() 137 #define tf_shared_lock(x) \ macro
|
/external/tensorflow/tensorflow/core/platform/ |
D | mutex_test.cc | 33 tf_shared_lock GetLock() { return tf_shared_lock{mu}; } in GetLock() 34 void Test() { tf_shared_lock lock = GetLock(); } in Test()
|
/external/tensorflow/tensorflow/stream_executor/platform/default/ |
D | mutex.h | 25 #undef tf_shared_lock 32 using tensorflow::tf_shared_lock; 35 #define tf_shared_lock(x) \ macro
|
/external/tensorflow/tensorflow/core/framework/ |
D | model.h | 141 tf_shared_lock l(mu_); in buffered_bytes() 147 tf_shared_lock l(mu_); in has_tunable_parameters() 159 tf_shared_lock l(mu_); in inputs() 168 tf_shared_lock l(mu_); in num_elements() 177 tf_shared_lock l(mu_); in processing_time() 217 tf_shared_lock l(mu_); in CollectTunableParameters() 230 tf_shared_lock l(mu_); in OutputTime() 237 tf_shared_lock l(mu_); in ProcessingTime() 248 tf_shared_lock l(mu_); in Snapshot()
|
D | model.cc | 397 tf_shared_lock l(mu_); in AddProcessingTime() 413 tf_shared_lock lock(mu_); in Optimize() 467 tf_shared_lock l(mu_); in RecordElement() 475 tf_shared_lock l(mu_); in RecordStart() 487 tf_shared_lock l(mu_); in RecordStop()
|
D | function_handle_cache.cc | 41 tf_shared_lock l(mu_); in Instantiate()
|
D | function.cc | 1030 tf_shared_lock l(other.mu_); in FunctionLibraryDefinition() 1055 tf_shared_lock l(mu_); in Contains() 1060 tf_shared_lock l(mu_); in Find() 1258 tf_shared_lock l(mu_); in FindGradient() 1268 tf_shared_lock l(mu_); in LookUp() 1278 tf_shared_lock l(mu_); in UniqueFunctionName() 1304 tf_shared_lock l(mu_); in GetAttrImpl() 1318 tf_shared_lock l(mu_); in ListFunctionNames() 1328 tf_shared_lock l(mu_); in ToProto()
|
D | resource_mgr.h | 444 tf_shared_lock l(mu_); in Lookup() 454 tf_shared_lock l(mu_); in LookupMany() 500 tf_shared_lock l(mu_);
|
/external/tensorflow/tensorflow/core/kernels/ |
D | training_op_helpers.h | 77 std::unique_ptr<std::vector<tf_shared_lock>> shared_locks) in VariableInputLockHolder() 101 std::unique_ptr<std::vector<tf_shared_lock>> shared_locks_; 172 std::unique_ptr<std::vector<tf_shared_lock>> shared_locks = in MaybeLockVariableInputMutexesInOrder() 173 absl::make_unique<std::vector<tf_shared_lock>>(); in MaybeLockVariableInputMutexesInOrder()
|
D | lookup_table_op.cc | 53 tf_shared_lock l(mu_); in size() 63 tf_shared_lock l(mu_); in Find() 108 tf_shared_lock l(mu_); in ExportValues() 138 tf_shared_lock l(mu_); in MemoryUsed() 170 tf_shared_lock l(mu_); in size() 181 tf_shared_lock l(mu_); in Find() 241 tf_shared_lock l(mu_); in ExportValues() 276 tf_shared_lock l(mu_); in MemoryUsed() 379 tf_shared_lock l(mu_); in size() 399 tf_shared_lock l(mu_); in Find() [all …]
|
D | resource_variable_ops.cc | 145 tf_shared_lock ml(*variable->mu()); in Compute() 195 tf_shared_lock ml(*variables[i]->mu()); in Compute() 626 tf_shared_lock ml(*v->mu()); in Compute() 763 tf_shared_lock ml(*v->mu()); in Compute()
|
/external/tensorflow/tensorflow/contrib/boosted_trees/kernels/ |
D | model_ops.cc | 75 tf_shared_lock l(*ensemble_resource->get_mutex()); in Compute() 94 tf_shared_lock l(*ensemble_resource->get_mutex()); in Compute() 153 tf_shared_lock l(*ensemble_resource->get_mutex()); in Compute()
|
D | prediction_ops.cc | 173 tf_shared_lock l(*ensemble_resource->get_mutex()); in Compute() 382 tf_shared_lock l(*ensemble_resource->get_mutex()); in Compute()
|
/external/tensorflow/tensorflow/stream_executor/ |
D | executor_cache.cc | 69 tf_shared_lock lock{mutex_}; in Get() 79 tf_shared_lock lock{entry->configurations_mutex}; in Get()
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
D | parallel_interleave_dataset_op.cc | 642 tf_shared_lock l(ckpt_mu_); in WorkerThread() 666 tf_shared_lock l(ckpt_mu_); in WorkerThread() 688 tf_shared_lock ckpt_l(ckpt_mu_); in WorkerThread() 697 tf_shared_lock l(ckpt_mu_); in WorkerThread() 715 tf_shared_lock l(ckpt_mu_); in WorkerThread() 733 tf_shared_lock ckpt_l(ckpt_mu_); in WorkerThread() 748 tf_shared_lock ckpt_l(ckpt_mu_); in WorkerThread() 785 tf_shared_lock ckpt_l(ckpt_mu_); in WorkerThread()
|
D | stats_dataset_ops.cc | 105 tf_shared_lock l(mu_); in GetNextInternal() 215 tf_shared_lock l(mu_); in GetNextInternal()
|
D | ignore_errors_dataset_op.cc | 89 tf_shared_lock l(mu_); in GetNextInternal()
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | gcs_file_system.h | 146 tf_shared_lock l(block_cache_lock_); in block_size() 150 tf_shared_lock l(block_cache_lock_); in max_bytes() 154 tf_shared_lock l(block_cache_lock_); in max_staleness()
|
/external/tensorflow/tensorflow/core/kernels/boosted_trees/ |
D | resource_ops.cc | 84 tf_shared_lock l(*tree_ensemble_resource->get_mutex()); in Compute() 147 tf_shared_lock l(*tree_ensemble_resource->get_mutex()); in Compute()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | executor_factory.cc | 63 tf_shared_lock l(executor_factory_lock); in GetFactory()
|
D | process_function_library_runtime.cc | 229 tf_shared_lock l(mu_); in GetHandle() 241 tf_shared_lock l(mu_); in GetHandleOnDevice() 261 tf_shared_lock l(mu_); in GetDeviceName() 271 tf_shared_lock l(mu_); in IsMultiDevice() 916 tf_shared_lock l(mu_); in Run() 927 tf_shared_lock l(mu_); in Run()
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | cache_dataset_ops.cc | 632 tf_shared_lock l(mu_); in IsClaimed() 638 tf_shared_lock l(mu_); in IsCompleted() 662 tf_shared_lock l(mu_); in at() 675 tf_shared_lock l(mu_); in size() 882 tf_shared_lock l(mu_); in Initialize()
|
D | unbounded_thread_pool.cc | 95 tf_shared_lock l(thread_pool_mu_); in size()
|
D | multi_device_iterator_ops.cc | 95 tf_shared_lock l(mu_); in GetNextFromShard() 115 tf_shared_lock l(mu_); in function_library() 120 tf_shared_lock l(mu_); in lib()
|
D | filter_by_component_dataset_op.cc | 119 tf_shared_lock l(mu_); in GetNextInternal()
|