Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for MaybePickDeviceForXla (0.3 sec)

  1. tensorflow/compiler/jit/device_util.cc

                                               /*failure_to_pick_is_error=*/true));
      return *device_id;
    }
    
    absl::StatusOr<std::optional<jit::DeviceId>> MaybePickDeviceForXla(
        const jit::DeviceInfoCache& device_info_cache,
        const jit::DeviceSet& devices, bool allow_mixing_unknown_and_cpu) {
      return PickDeviceForXlaImpl(device_info_cache, devices,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/device_util.h

    // non-OK Status) if no unambiguous choice of device exists.
    //
    // We return a failing Status for errors unrelated to the device choice
    // algorithm itself.
    absl::StatusOr<std::optional<jit::DeviceId>> MaybePickDeviceForXla(
        const jit::DeviceInfoCache& device_info_cache,
        const jit::DeviceSet& devices, bool allow_mixing_unknown_and_cpu);
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 17:18:31 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/mark_for_compilation_pass.cc

      DeviceSet devices = cluster_a.devices();
      devices.UnionWith(cluster_b.devices());
    
      TF_ASSIGN_OR_RETURN(
          std::optional<jit::DeviceId> maybe_chosen_device,
          MaybePickDeviceForXla(device_info_cache_, devices,
                                /*allow_mixing_unknown_and_cpu=*/false));
      if (!maybe_chosen_device.has_value()) {
        return false;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
Back to top