- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for Phread (0.17 sec)
-
tensorflow/c/env.cc
cc_options.numa_node = options->numa_node; return reinterpret_cast<TF_Thread*>(::tensorflow::Env::Default()->StartThread( cc_options, thread_name, [=]() { (*work_func)(param); })); } void TF_JoinThread(TF_Thread* thread) { // ::tensorflow::Thread joins on destruction delete reinterpret_cast<::tensorflow::Thread*>(thread); } void* TF_LoadSharedLibrary(const char* library_filename, TF_Status* status) {
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Aug 11 01:20:50 GMT 2021 - 7K bytes - Viewed (0) -
tensorflow/c/env_test.cc
} } // namespace TEST(TestEnv, TestThreads) { TF_ThreadOptions options; TF_DefaultThreadOptions(&options); SomeThreadData data; TF_Thread* thread = TF_StartThread(&options, "SomeThreadName", &SomeThreadFunc, &data); TF_JoinThread(thread); ::tensorflow::mutex_lock l(data.mu); ASSERT_TRUE(data.did_work);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Dec 10 20:52:48 GMT 2018 - 4.2K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h
block_fetcher_(block_fetcher), timer_seconds_(timer_seconds), pruning_thread_(nullptr, [](TF_Thread* thread) { TF_JoinThread(thread); }) { if (max_staleness_ > 0) { TF_ThreadOptions thread_options; TF_DefaultThreadOptions(&thread_options); pruning_thread_.reset( TF_StartThread(&thread_options, "TF_prune_FBC", PruneThread, this)); }
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 04:46:34 GMT 2020 - 10.6K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h
#include <memory> #include <string> #include "absl/base/thread_annotations.h" #include "absl/synchronization/mutex.h" #include "tensorflow/c/env.h" #include "tensorflow/c/tf_status.h" namespace tf_gcs_filesystem { /// \brief An LRU cache of string keys and arbitrary values, with configurable /// max item age (in seconds) and max entries. /// /// This class is thread safe. template <typename T> class ExpiringLRUCache {
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 19:31:22 GMT 2020 - 6.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
// Sets a custom Executor for the current thread. All nodes created by this // thread will be added to this Executor. It will override the current executor. TF_CAPI_EXPORT extern void TFE_ContextSetExecutorForThread(TFE_Context*, TFE_Executor*); // Returns the Executor for the current thread. TF_CAPI_EXPORT extern TFE_Executor* TFE_ContextGetExecutorForThread(
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_context.h
virtual void SetJitCompileRewrite(bool enable) = 0; // Sets the device placement policy for the current thread. virtual void SetThreadLocalDevicePlacementPolicy( ContextDevicePlacementPolicy policy) = 0; // Returns the device placement policy for the current thread. virtual ContextDevicePlacementPolicy GetDevicePlacementPolicy() const = 0; // Configure graph collection in RunMetadata.
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 06 08:34:00 GMT 2023 - 12.3K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
notification.Notify(); // Wait for other thread to issue read. Env::Default()->SleepForMicroseconds(100000); // 0.1 secs TF_SetStatus(status, TF_OK, ""); return n; }; tf_gcs_filesystem::RamFileBlockCache cache(block_size, block_size, 0, fetcher); // Fork off thread for parallel read. std::unique_ptr<Thread> concurrent(
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:57 GMT 2021 - 23.2K bytes - Viewed (0) -
ci/official/containers/linux_arm64/builder.devtoolset/build_devtoolset.sh
case "${VERSION}" in devtoolset-9) wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 --tries=5 "https://vault.centos.org/centos/7/sclo/Source/rh/devtoolset-9-gcc-9.3.1-2.2.el7.src.rpm" rpm2cpio "devtoolset-9-gcc-9.3.1-2.2.el7.src.rpm" |cpio -idmv tar -xvf "gcc-9.3.1-20200408.tar.xz" --strip 1 ;; devtoolset-10)
Shell Script - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Sep 29 00:26:34 GMT 2023 - 6.1K bytes - Viewed (1) -
CONTRIBUTING.md
# Contributing guidelines ## Pull Request Checklist Before sending your pull requests, make sure you do the following: - Read the [contributing guidelines](CONTRIBUTING.md). - Read the [Code of Conduct](CODE_OF_CONDUCT.md). - Ensure you have signed the [Contributor License Agreement (CLA)](https://cla.developers.google.com/). - Check if your changes are consistent with the
Plain Text - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Mar 21 11:45:51 GMT 2024 - 15.6K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/filesystem_interface.h
ops->writable_file_ops_api = TF_WRITABLE_FILE_OPS_API; ops->writable_file_ops_size = TF_WRITABLE_FILE_OPS_SIZE; ops->read_only_memory_region_ops_abi = TF_READ_ONLY_MEMORY_REGION_OPS_ABI; ops->read_only_memory_region_ops_api = TF_READ_ONLY_MEMORY_REGION_OPS_API; ops->read_only_memory_region_ops_size = TF_READ_ONLY_MEMORY_REGION_OPS_SIZE; } /// Initializes a TensorFlow plugin. ///
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri May 27 17:36:54 GMT 2022 - 53.1K bytes - Viewed (0)