Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for PopulateDefaultPlatform (0.23 sec)

  1. tensorflow/c/experimental/stream_executor/stream_executor_test_util.h

    constexpr char kDeviceType[] = "GPU";
    
    void PopulateDefaultStreamExecutor(SP_StreamExecutor* se);
    void PopulateDefaultDeviceFns(SP_DeviceFns* device_fns);
    void PopulateDefaultTimerFns(SP_TimerFns* timer_fns);
    void PopulateDefaultPlatform(SP_Platform* platform,
                                 SP_PlatformFns* platform_fns);
    void PopulateDefaultPlatformRegistrationParams(
        SE_PlatformRegistrationParams* const params);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 17 01:32:30 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/stream_executor/stream_executor_test_util.cc

      TF_SetStatus(status, TF_OK, "");
      params->device_fns->struct_size = {SP_DEVICE_FNS_STRUCT_SIZE};
    }
    void DestroyDeviceFns(const SP_Platform* platform, SP_DeviceFns* device_fns) {}
    
    void PopulateDefaultPlatform(SP_Platform* platform,
                                 SP_PlatformFns* platform_fns) {
      *platform = {SP_PLATFORM_STRUCT_SIZE};
      platform->name = kDeviceName;
      platform->type = kDeviceType;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 21 20:09:00 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/stream_executor/stream_executor_test.cc

    }
    
    /*** StreamExecutor behavior tests ***/
    class StreamExecutorTest : public ::testing::Test {
     protected:
      StreamExecutorTest() {}
      void SetUp() override {
        test_util::PopulateDefaultPlatform(&platform_, &platform_fns_);
        test_util::PopulateDefaultDeviceFns(&device_fns_);
        test_util::PopulateDefaultStreamExecutor(&se_);
        test_util::PopulateDefaultTimerFns(&timer_fns_);
      }
    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