Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ClearStats (0.12 sec)

  1. tensorflow/compiler/jit/xla_device_context.h

      string Name() override;
    
      void* AllocateRaw(size_t alignment, size_t num_bytes) override;
      void DeallocateRaw(void* ptr) override;
      std::optional<AllocatorStats> GetStats() override;
      bool ClearStats() override;
    
     private:
      // The stream executor of the device.
      se::StreamExecutor* stream_executor_;
    };
    
    // Helper class for managing data transfers between host and XLA devices.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_device_context.cc

      tf_stats.bytes_reservable_limit = se_stats->bytes_reservable_limit;
      tf_stats.largest_free_block_bytes = se_stats->largest_free_block_bytes;
      return tf_stats;
    }
    
    bool XlaDeviceAllocator::ClearStats() {
      if (!stream_executor_->SynchronizeAllActivity()) {
        return false;
      }
      return stream_executor_->ClearAllocatorStats();
    }
    
    XlaDeviceContext::XlaDeviceContext(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top