Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GetResourceMgrForDeviceCompiler (0.65 sec)

  1. tensorflow/compiler/jit/xla_compile_util.h

    std::string GetPjRtDeviceCompilationProfilerResourceName(
        const DeviceType& device_type);
    
    // Gets the ResourceMgr where the DeviceCompiler is/should be stored for the
    // given `device_type`.
    absl::StatusOr<ResourceMgr*> GetResourceMgrForDeviceCompiler(
        const OpKernelContext& ctx, const DeviceType& device_type);
    
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/pjrt_compile_util.cc

        bool may_alias_resource_update,
        const XlaCompiler::CompilationResult** compilation_result,
        xla::PjRtClient** client, xla::PjRtLoadedExecutable** executable) {
      TF_ASSIGN_OR_RETURN(ResourceMgr * rm, GetResourceMgrForDeviceCompiler(
                                                ctx, platform_info.device_type()));
      return CompileToPjRtLoadedExecutable(
          ctx.device(), platform_info, function, args, compile_mode, has_ref_vars,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_compile_util.cc

        const DeviceType& device_type) {
      return absl::StrCat(kPjRtDeviceCompilationProfilerResourceName, "_",
                          device_type.type_string());
    }
    
    absl::StatusOr<ResourceMgr*> GetResourceMgrForDeviceCompiler(
        const OpKernelContext& ctx, const DeviceType& device_type) {
      // We store information about the JIT-compiled XLA computation in the
      // ResourceMgr. The DeviceCompiler (which contains the DeviceCompilationCache)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/xla_platform_info.cc

        FunctionLibraryRuntime* flr,
        DeviceCompiler<xla::PjRtLoadedExecutable, xla::PjRtClient>**
            pjrt_device_compiler,
        DeviceCompilationProfiler** profiler) {
      TF_ASSIGN_OR_RETURN(ResourceMgr * rm, GetResourceMgrForDeviceCompiler(
                                                ctx, platform_info.device_type()));
      return GetOrCreatePjRtDeviceCompilerAndProfiler(
          platform_info, rm, flr, pjrt_device_compiler, profiler);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 17:23:27 UTC 2024
    - 17.4K bytes
    - Viewed (0)
Back to top