Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for xla_device (0.14 sec)

  1. tensorflow/compiler/jit/xla_platform_info.cc

                          ->stream->parent()
                          ->GetPlatform()
                          ->id();
      } else if (XlaDevice::GetMetadataFromDevice(device_base, &xla_device_metadata)
                     .ok()) {
        // If we are on an XlaDevice, use the underlying XLA platform's allocator
        // directly. We could use the StreamExecutor's allocator which may
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 17:23:27 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_compiler_options_util_test.cc

          layout_preference_fn, shape_representation_fn}};
    }
    
    std::unique_ptr<XlaDevice::Metadata> CreateXlaDeviceMetadata(
        DeviceType compilation_device_type) {
      return std::make_unique<XlaDevice::Metadata>(
          /*device_ordinal=*/0, /*platform=*/nullptr, compilation_device_type,
          GetShapeDeterminationFns(), XlaDevice::PaddedShapeFn(),
          /*use_multiple_streams=*/false);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 29 01:41:20 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/pjrt_base_device.h

    #include "tensorflow/core/common_runtime/local_device.h"
    #include "tensorflow/core/framework/device_base.h"
    
    namespace tensorflow {
    
    // tensorflow::PjRtBaseDevice replaces the deprecated tensorflow::XlaDevice.
    // This accelerator agnostic device is mainly used to store metadata.
    class PjRtBaseDevice : public LocalDevice {
     public:
      // Stores metadata about the PjRtBaseDevice.
      class Metadata {
       public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/xla_tensor.h

    #include "tensorflow/core/framework/device_base.h"
    #include "tensorflow/core/lib/core/status.h"
    #include "tensorflow/core/platform/mutex.h"
    
    namespace tensorflow {
    
    // The implementation of a Tensor for an XlaDevice. All device tensors are
    // actually one of these.
    //
    // To distinguish between "normal" device tensors and XlaTensors, the raw
    // pointer data stored in the TensorBuffer is a tagged pointer.
    class XlaTensor {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/mark_for_compilation_pass.cc

      if (debug_options_.dump_graphs) {
        DumpGraphToFile("before_mark_for_compilation", *graph_, flib_def_);
      }
    
      // Mark clusters for compilation that:
      // * are placed on a device that requires compilation (an XlaDevice),
      // * are explicitly marked for compilation (_XlaCompile=true), or
      // * have more than debug_options_.xla_min_cluster_size elements (applicable
      //   only if compilation is enabled, otherwise there will be no such
    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