Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for destroy_stream (0.17 sec)

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

      se_.create_stream = [](const SP_Device* const device, SP_Stream* stream,
                             TF_Status* const status) -> void {
        *stream = new SP_Stream_st(14);
        stream_created = true;
      };
      se_.destroy_stream = [](const SP_Device* const device,
                              SP_Stream stream) -> void {
        auto custom_stream = static_cast<SP_Stream_st*>(stream);
        ASSERT_EQ(custom_stream->stream_id, 14);
        delete custom_stream;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 19:54:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/stream_executor/stream_executor_internal.h

        absl::Status s = tensorflow::StatusFromTF_Status(c_status.get());
        return s;
      }
    
      void Destroy() {
        if (stream_handle_ != nullptr) {
          stream_executor_->destroy_stream(device_, stream_handle_);
          stream_handle_ = nullptr;
        }
      }
      absl::Status RefreshStatus() override {
        tensorflow::TF_StatusPtr c_status(TF_NewStatus());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/stream_executor/stream_executor.cc

      }
      TF_VALIDATE_NOT_NULL(SP_StreamExecutor, se, device_memory_usage);
      TF_VALIDATE_NOT_NULL(SP_StreamExecutor, se, create_stream);
      TF_VALIDATE_NOT_NULL(SP_StreamExecutor, se, destroy_stream);
      TF_VALIDATE_NOT_NULL(SP_StreamExecutor, se, create_stream_dependency);
      TF_VALIDATE_NOT_NULL(SP_StreamExecutor, se, get_stream_status);
      TF_VALIDATE_NOT_NULL(SP_StreamExecutor, se, create_event);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
Back to top