Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Phread (0.15 sec)

  1. 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 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 7K bytes
    - Viewed (0)
  2. 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 30 12:39:09 GMT 2024
    - Last Modified: Mon Dec 10 20:52:48 GMT 2018
    - 4.2K bytes
    - Viewed (0)
  3. CODE_OF_CONDUCT.md

    
    ## Attribution
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Fri Feb 05 18:43:16 GMT 2021
    - 5.2K bytes
    - Viewed (0)
  4. 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 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  5. 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 May 07 12:40:20 GMT 2024
    - Last Modified: Fri Sep 29 00:26:34 GMT 2023
    - 6.1K bytes
    - Viewed (1)
  6. SECURITY.md

      - An explanation of who can exploit this vulnerability, and what they gain
        when doing so. Write an attack scenario that demonstrates how your issue
        violates the use cases and security assumptions defined in the threat model.
        This will help us evaluate your report quickly, especially if the issue is
        complex.
      - Whether this vulnerability is public or known to third parties. If it is,
        please provide details.
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Sun Oct 01 06:06:35 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  7. tensorflow/c/env.h

    TF_CAPI_EXPORT extern TF_Thread* TF_StartThread(const TF_ThreadOptions* options,
                                                    const char* thread_name,
                                                    void (*work_func)(void*),
                                                    void* param);
    
    // Waits for the given thread to finish execution, then deletes it.
    TF_CAPI_EXPORT extern void TF_JoinThread(TF_Thread* thread);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  8. ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py

          # Sharded tests have target names like this:
          # WindowOpsTest.test_tflite_convert0 (<function hann_window at
          #     0x7fc61728dd40>, 10, False, tf.float32)
          # Where 0x... is a thread ID (or something) that is not important for
          # debugging, but breaks this "number of failures" counter because it's
          # different for repetitions of the same test. We use re.sub(r"0x\w+")
          # to remove it.
    Python
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 19:00:37 GMT 2023
    - 4.8K bytes
    - Viewed (0)
Back to top