Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for _device_ordinal (0.32 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/device_util_test.cc

      int64_t device_ordinal0 = -1;
      mlir::LogicalResult result0 =
          GetDeviceOrdinalFromDeviceString(unknown_loc, tpu0, &device_ordinal0);
      EXPECT_TRUE(mlir::succeeded(result0));
      EXPECT_EQ(device_ordinal0, 0);
    
      int64_t device_ordinal1 = -1;
      mlir::LogicalResult result1 =
          GetDeviceOrdinalFromDeviceString(unknown_loc, tpu1, &device_ordinal1);
      EXPECT_TRUE(mlir::succeeded(result1));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_compiler_options_util.cc

    inline void LogOptions(const XlaCompiler::Options& options) {
      VLOG(2) << "XlaCompiler::Options[device_type=" << options.device_type
              << ",device_ordinal=" << options.device_ordinal
              << ",client=" << options.client << ",flib_def=" << options.flib_def
              << ",graph_def_version=" << options.graph_def_version
              << ",options.shape_determination_fns.layout_preference_fn?="
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/pjrt_base_device.h

        Options(std::string device_name_prefix, std::string device_name,
                int device_ordinal, std::string compilation_device_name,
                std::vector<XlaShapeLayoutHelpers::ShapeDeterminationFns>
                    shape_determination_fns)
            : device_name_prefix(device_name_prefix),
              device_name(device_name),
              device_ordinal(device_ordinal),
              compilation_device_name(compilation_device_name),
    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/pjrt_base_device.cc

                                                   const string& device_name,
                                                   int device_ordinal) {
      return Device::BuildDeviceAttributes(
          absl::StrCat(name_prefix, "/device:", device_name, ":", device_ordinal),
          DeviceType(device_name), Bytes(16ULL << 30), DeviceLocality(),
          absl::StrCat("device: ", device_name, " device"));
    }
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/xla_tensor.cc

                                           int device_ordinal) {
      xla::Shape on_host_shape =
          xla::ShapeUtil::DeviceShapeToHostShape(on_device_shape);
      xla::ScopedShapedBuffer shaped_buffer(on_host_shape, on_device_shape,
                                            client->backend().memory_allocator(),
                                            device_ordinal);
      for (auto& index_to_buffer : shaped_buffer.buffers()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/device_util.cc

    }
    
    mlir::LogicalResult GetDeviceOrdinalFromDeviceString(mlir::Location loc,
                                                         llvm::StringRef device,
                                                         int64_t* device_ordinal) {
      DeviceNameUtils::ParsedName parsed_name;
      if (!DeviceNameUtils::ParseFullName(
              absl::string_view(device.data(), device.size()), &parsed_name))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/xla_cpu_device.cc

      XlaDevice::Options options;
      options.platform = platform;
      options.device_name_prefix = name_prefix;
      options.device_name = DEVICE_XLA_CPU;
      options.device_ordinal = 0;
      options.compilation_device_name = DEVICE_CPU_XLA_JIT;
      options.use_multiple_streams = false;
      XlaShapeLayoutHelpers::ShapeDeterminationFns shape_representation_fns{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_gpu_device.cc

      }
      for (int i : *gpu_ids) {
        XlaDevice::Options options;
        options.platform = platform.value();
        options.device_name_prefix = name_prefix;
        options.device_name = DEVICE_XLA_GPU;
        options.device_ordinal = i;
        options.compilation_device_name = DEVICE_GPU_XLA_JIT;
        options.use_multiple_streams = true;
        options.allowed_devices = gpu_ids;
        XlaShapeLayoutHelpers::ShapeDeterminationFns shape_representation_fns{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top