Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for destroy_platform_ (0.18 sec)

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

          const StreamExecutorConfig& config) override;
    
      void DestroyAllExecutors() { executor_cache_.DestroyAllExecutors(); }
    
     private:
      SP_Platform platform_;
      void (*destroy_platform_)(SP_Platform*);
      SP_PlatformFns platform_fns_;
      void (*destroy_platform_fns_)(SP_PlatformFns*);
      SP_DeviceFns device_fns_;
      SP_StreamExecutor stream_executor_;
      SP_TimerFns timer_fns_;
      const std::string name_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/stream_executor/stream_executor.cc

                         void (*destroy_platform)(SP_Platform*),
                         SP_PlatformFns platform_fns,
                         void (*destroy_platform_fns)(SP_PlatformFns*),
                         SP_DeviceFns device_fns, SP_StreamExecutor stream_executor,
                         SP_TimerFns timer_fns)
        : platform_(std::move(platform)),
          destroy_platform_(destroy_platform),
          platform_fns_(std::move(platform_fns)),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/stream_executor/stream_executor_test_util.cc

    /*** Functions for creating SE_PlatformRegistrationParams ***/
    void DestroyPlatform(SP_Platform* platform) {}
    void DestroyPlatformFns(SP_PlatformFns* platform_fns) {}
    
    void PopulateDefaultPlatformRegistrationParams(
        SE_PlatformRegistrationParams* const params) {
      PopulateDefaultPlatform(params->platform, params->platform_fns);
      params->destroy_platform = DestroyPlatform;
      params->destroy_platform_fns = DestroyPlatformFns;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 21 20:09:00 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/stream_executor/stream_executor_test_util.h

    void PopulateDefaultPlatform(SP_Platform* platform,
                                 SP_PlatformFns* platform_fns);
    void PopulateDefaultPlatformRegistrationParams(
        SE_PlatformRegistrationParams* const params);
    
    void DestroyPlatform(SP_Platform* platform);
    void DestroyPlatformFns(SP_PlatformFns* platform_fns);
    
    }  // namespace test_util
    }  // namespace stream_executor
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 17 01:32:30 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/stream_executor/stream_executor.h

      SP_PlatformFns* platform_fns;  // output, set by plugin
      // Clean up fields inside SP_Platform that were allocated
      // by the plugin. `platform` itself should not be deleted here.
      void (*destroy_platform)(SP_Platform* platform);  // out, set by plugin
      void (*destroy_platform_fns)(
          SP_PlatformFns* platform_fns);  // out, set by plugin
    } SE_PlatformRegistrationParams;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 24 08:40:35 UTC 2022
    - 21.6K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/stream_executor/stream_executor_test.cc

      }
      void TearDown() override {}
    
      StreamExecutor* GetExecutor(int ordinal) {
        if (!cplatform_) {
          cplatform_ = absl::make_unique<CPlatform>(
              platform_, test_util::DestroyPlatform, platform_fns_,
              test_util::DestroyPlatformFns, device_fns_, se_, timer_fns_);
        }
        absl::StatusOr<StreamExecutor*> maybe_executor =
            cplatform_->ExecutorForDevice(ordinal);
    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