Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for device_memory_usage (0.13 sec)

  1. tensorflow/c/experimental/stream_executor/stream_executor.cc

            "EnablePeerAccessTo is not supported by pluggable device.");
      }
      bool CanEnablePeerAccessTo(StreamExecutor* other) override { return false; }
    
      bool DeviceMemoryUsage(int64_t* free, int64_t* total) const override {
        return stream_executor_->device_memory_usage(
            &device_, reinterpret_cast<int64_t*>(free),
            reinterpret_cast<int64_t*>(total));
      }
    
      // Creates a new DeviceDescription object.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/stream_executor/stream_executor_test.cc

      ASSERT_TRUE(optional_stats.has_value());
      AllocatorStats stats = optional_stats.value();
      ASSERT_EQ(stats.bytes_in_use, 123);
    }
    
    TEST_F(StreamExecutorTest, DeviceMemoryUsage) {
      se_.device_memory_usage = [](const SP_Device* const device,
                                   int64_t* const free,
                                   int64_t* const total) -> TF_Bool {
        *free = 45;
        *total = 7;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 19:54:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
Back to top