Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for use_multiple_streams (0.29 sec)

  1. tensorflow/compiler/jit/xla_cpu_device.cc

      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{
          UseNoPreferenceLayoutFn(), IdentityShapeRepresentationFn()};
      options.shape_determination_fns = {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)
  2. tensorflow/compiler/jit/xla_gpu_device.cc

        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{
            UseNoPreferenceLayoutFn(), IdentityShapeRepresentationFn()};
    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/xla_platform_info.h

            pjrt_device_metadata_(pjrt_device_metadata),
            device_allocator_(device_allocator) {}
    
      XlaPlatformInfo& operator=(XlaPlatformInfo&& other) = default;
    
      bool UseMultipleStreams() const {
        return xla_device_metadata_ && xla_device_metadata_->UseMultipleStreams();
      }
    
      // Non-null only when run on an XLA device.
      std::shared_ptr<se::DeviceMemoryAllocator> custom_allocator() const {
        return device_allocator_;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/xla_device_context.h

      se::Stream* GetDeviceToDeviceStream();
    
      Status ThenExecute(Device* device, stream_executor::Stream* stream,
                         std::function<void()> func) override;
    
     private:
      bool UseMultipleStreams() const { return stream_ != host_to_device_stream_; }
    
      // The main compute stream of the device, used to synchronize the transfer
      // streams if they are set.
      std::shared_ptr<se::Stream> stream_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 5.1K bytes
    - Viewed (0)
Back to top