Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for xla_device_compiler_ref (0.33 sec)

  1. tensorflow/compiler/jit/xla_platform_info_test.cc

                                          platform_info, compilation_device_type,
                                          &xla_device_compiler));
      core::ScopedUnref xla_device_compiler_ref(xla_device_compiler);
    
      EXPECT_EQ(xla_device_compiler->device_type(), metadata->jit_device_type());
      EXPECT_EQ(xla_device_compiler->client(), metadata->client());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Jan 14 15:17:12 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/device_compiler_test.cc

    }
    
    TEST_F(DeviceCompilerTest, CompilePersistentCacheEnabled) {
      auto xla_device_compiler =
          CreateXlaDeviceCompiler(/*enable_persistence=*/true);
      core::ScopedUnref xla_device_compiler_ref(xla_device_compiler);
    
      NameAttrList fn;
      fn.set_name("foo");
      auto args = SampleArgsForAddXY();
      XlaCompiler::Options options = GetDefaultXlaOptions();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_compiler_options_util_test.cc

      DeviceType compilation_device_type = DeviceType(DEVICE_GPU_XLA_JIT);
    
      auto xla_device_compiler =
          CreateXlaDeviceCompiler(compilation_device_type, client);
      core::ScopedUnref xla_device_compiler_ref(xla_device_compiler);
    
      se::Platform::Id platform_id = se::host::kHostPlatformId;
      auto xla_device_metadata = CreateXlaDeviceMetadata(compilation_device_type);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 29 01:41:20 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/device_compiler_disable_test.cc

      auto xla_device_compiler =
          new DeviceCompiler<xla::LocalExecutable, xla::LocalClient>(
              std::move(persistor), std::move(compiler_client));
      core::ScopedUnref xla_device_compiler_ref(xla_device_compiler);
    
      auto profiler = new DeviceCompilationProfiler();
      core::ScopedUnref profiler_ref(profiler);
    
      // Check that strict compilation is disallowed.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/get_compiler_ir.cc

            return BuildXlaDeviceCompiler(dev, flr, platform_info,
                                          compilation_device_type,
                                          xla_device_compiler);
          }));
      core::ScopedUnref xla_device_compiler_ref(xla_device_compiler);
    
      XlaCompiler::Options options;
      if (platform_info.device_type() == DEVICE_TPU && stream == nullptr) {
        options = GenerateCompilerOptionsForTfrtTpu(*xla_device_compiler, *flr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/xla_compile_on_demand_op.cc

        // evaluation. (We could probably free them sooner because the ResourceMgr
        // will retain references, but this is more obviously correct.)
        core::ScopedUnref xla_device_compiler_ref(xla_device_compiler);
        core::ScopedUnref profiler_ref(profiler);
    
        // Locks are acquired again when populating the `ctx` outputs.
        OP_REQUIRES_OK(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/kernels/xla_ops.cc

      // evaluation. (We could probably free them sooner because the ResourceMgr
      // will retain references, but this is more obviously correct.)
      core::ScopedUnref xla_device_compiler_ref(xla_device_compiler);
      core::ScopedUnref profiler_ref(profiler);
    
      *client = static_cast<xla::LocalClient*>(xla_device_compiler->client());
    
      XlaCompiler::Options options = GenerateCompilerOptions(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
Back to top