Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for tf_xla_enable_xla_devices (0.38 sec)

  1. tensorflow/compiler/jit/xla_cpu_device.cc

    };
    
    Status XlaCpuDeviceFactory::ListPhysicalDevices(std::vector<string>* devices) {
      XlaDeviceFlags* flags = GetXlaDeviceFlags();
      if (!flags->tf_xla_enable_xla_devices && !XlaDevicesCreationRequired()) {
        VLOG(1) << "Not creating XLA devices, tf_xla_enable_xla_devices not set "
                   "and XLA device creation not requested";
        return absl::OkStatus();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_gpu_device.cc

    };
    
    Status XlaGpuDeviceFactory::ListPhysicalDevices(std::vector<string>* devices) {
      XlaDeviceFlags* flags = GetXlaDeviceFlags();
      if (!flags->tf_xla_enable_xla_devices && !XlaDevicesCreationRequired()) {
        VLOG(1) << "Not creating XLA devices, tf_xla_enable_xla_devices not set "
                   "and XLA devices creation not required";
        return absl::OkStatus();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/device_context_test.cc

      auto& rollout_config = GetXlaOpsCommonFlags()->tf_xla_use_device_api;
      rollout_config.enabled_for_xla_launch_ = true;
      rollout_config.enabled_for_compile_on_demand_ = true;
    
      tensorflow::GetXlaDeviceFlags()->tf_xla_enable_xla_devices = true;
      return true;
    }();
    
    class DeviceContextTest : public ::testing::Test {
     public:
      void SetDevice(const string& device_type) {
        auto& rollout_config = GetXlaOpsCommonFlags()->tf_xla_use_device_api;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top