Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for device_allocator_ (0.21 sec)

  1. tensorflow/compiler/jit/xla_launch_util_gpu_test.cc

        return host_tensor;
      }
    
      // Creates a Tensor on device using the device_allocator_
      template <typename T>
      Tensor* CreateDeviceTensor(const TensorShape& shape,
                                 const gtl::ArraySlice<T> data) {
        Tensor* host_tensor = CreateHostTensor<T>(shape, data);
        Tensor* device_tensor =
            new Tensor(device_allocator_, DataTypeToEnum<T>::v(), shape);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 10K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_launch_util_test.cc

        return host_tensor;
      }
    
      // Creates a Tensor on device using the device_allocator_
      template <typename T>
      Tensor* CreateDeviceTensor(const TensorShape& shape,
                                 const gtl::ArraySlice<T> data) {
        Tensor* host_tensor = CreateHostTensor<T>(shape, data);
        Tensor* device_tensor =
            new Tensor(device_allocator_, DataTypeToEnum<T>::v(), shape);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_compiler_options_util_test.cc

      XlaPlatformInfo platform_info(
          compilation_device_type, /*platform_id=*/nullptr,
          /*xla_device_metadata=*/nullptr,
          /*pjrt_device_metadata=*/pjrt_device_metadata.get(),
          /*device_allocator=*/nullptr);
    
      XlaCompiler::Options options = GenerateCompilerOptionsForPjRt(
          *device_setup_.flr(), device, platform_info,
          /*pjrt_device_compiler=*/nullptr);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 29 01:41:20 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/xla_platform_info_test.cc

                                    /*xla_device_metadata=*/nullptr,
                                    /*pjrt_device_metadata=*/nullptr,
                                    /*device_allocator=*/nullptr);
    
      XlaDeviceCompiler* xla_device_compiler = nullptr;
      TF_EXPECT_OK(BuildXlaDeviceCompiler(device, nullptr, platform_info,
                                          compilation_device_type,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Jan 14 15:17:12 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/get_compiler_ir.cc

                                       : local_client->default_device_ordinal());
      build_options.set_result_layout(result.xla_output_shape);
      build_options.set_device_allocator(options.device_allocator.get());
      build_options.set_alias_passthrough_params(options.alias_passthrough_params);
      build_options.mutable_debug_options()->set_xla_detailed_logging(
          options.detailed_logging);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top