Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for jit (0.66 sec)

  1. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

        Object x =
            new Object() {
              @Override
              protected void finalize() {
                latch.countDown();
              }
            };
        x = null; // Hint to the JIT that x is unreachable
        GcFinalization.await(latch);
        assertEquals(0, latch.getCount());
      }
    
      public void testAwaitDone_Future() {
        final SettableFuture<@Nullable Void> future = SettableFuture.create();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

        Object x =
            new Object() {
              @Override
              protected void finalize() {
                latch.countDown();
              }
            };
        x = null; // Hint to the JIT that x is unreachable
        GcFinalization.await(latch);
        assertEquals(0, latch.getCount());
      }
    
      public void testAwaitDone_Future() {
        final SettableFuture<@Nullable Void> future = SettableFuture.create();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/GcFinalization.java

     *
     * <pre>{@code
     * final CountDownLatch latch = new CountDownLatch(1);
     * Object x = new MyClass() {
     *   ...
     *   protected void finalize() { latch.countDown(); ... }
     * };
     * x = null;  // Hint to the JIT that x is stack-unreachable
     * GcFinalization.await(latch);
     * }</pre>
     *
     * <p>Here's an example that uses a user-defined finalization predicate:
     *
     * <pre>{@code
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_internal.h

      // If true, use TFRT backend
      bool use_tfrt = false;
      // Whether to run elementary eager ops wrapped in a call op.
      bool run_eager_op_as_function = false;
      // Whether to rewrite jit_compile functions.
      bool jit_compile_rewrite = false;
    };
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jan 18 19:26:34 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/next_pluggable_device/BUILD

            "//tensorflow/c:kernels_hdrs",
            "//tensorflow/c:tf_buffer",
            "//tensorflow/c:tf_status_internal",
            "//tensorflow/c:tf_tensor_internal",
            "//tensorflow/compiler/jit:variable_info",
            "//tensorflow/compiler/jit:variable_info_util",
            "//tensorflow/core:framework",
            "//tensorflow/core/common_runtime/next_pluggable_device:plugin_resource",
            "//tensorflow/core/platform:refcount",
    Plain Text
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental.cc

        tensorflow::MarkForCompilationPassFlags* flags =
            tensorflow::GetMarkForCompilationPassFlags();
        flags->tf_xla_cpu_global_jit = true;
        flags->tf_xla_min_cluster_size = 1;
      } else {
        optimizer_options->set_global_jit_level(tensorflow::OptimizerOptions::OFF);
      }
    }
    
    unsigned char TF_SetXlaEnableLazyCompilation(unsigned char enable) {
      tensorflow::BuildXlaOpsPassFlags* flags =
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_experimental.h

    #ifdef __cplusplus
    extern "C" {
    #endif
    
    // When `enable` is true, set
    // tensorflow.ConfigProto.OptimizerOptions.global_jit_level to ON_1, and also
    // set XLA flag values to prepare for XLA compilation. Otherwise set
    // global_jit_level to OFF.
    //
    // This and the next API are syntax sugar over TF_SetConfig(), and is used by
    // clients that cannot read/write the tensorflow.ConfigProto proto.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/next_pluggable_device/c_api.cc

    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/c/tf_status_internal.h"
    #include "tensorflow/c/tf_tensor.h"
    #include "tensorflow/c/tf_tensor_internal.h"
    #include "tensorflow/compiler/jit/variable_info.h"
    #include "tensorflow/compiler/jit/variable_info_util.h"
    #include "xla/pjrt/c/pjrt_c_api.h"
    #include "xla/pjrt/c/pjrt_c_api_helpers.h"
    #include "xla/pjrt/pjrt_c_api_client.h"
    #include "xla/pjrt/pjrt_client.h"
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 13.9K bytes
    - Viewed (1)
  9. android/guava-tests/test/com/google/common/collect/InternersTest.java

        Interner<Integer> pool = Interners.newWeakInterner();
        assertSame(canonical, pool.intern(canonical));
    
        WeakReference<Integer> signal = new WeakReference<>(canonical);
        canonical = null; // Hint to the JIT that canonical is unreachable
    
        GcFinalization.awaitClear(signal);
        assertSame(not, pool.intern(not));
      }
    
      public void testAsFunction_simplistic() {
        String canonical = "a";
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/StandardSystemProperty.java

      /** List of paths to search when loading libraries. */
      JAVA_LIBRARY_PATH("java.library.path"),
    
      /** Default temp file path. */
      JAVA_IO_TMPDIR("java.io.tmpdir"),
    
      /** Name of JIT compiler to use. */
      JAVA_COMPILER("java.compiler"),
    
      /**
       * Path of extension directory or directories.
       *
       * @deprecated This property was <a
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 5K bytes
    - Viewed (0)
Back to top