Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for get_stream_status (0.24 sec)

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

      se->device_memory_usage = DeviceMemoryUsage;
      se->create_stream = CreateStream;
      se->destroy_stream = DestroyStream;
      se->create_stream_dependency = CreateStreamDependency;
      se->get_stream_status = GetStreamStatus;
      se->create_event = CreateEvent;
      se->destroy_event = DestroyEvent;
      se->get_event_status = GetEventStatus;
      se->record_event = RecordEvent;
      se->wait_for_event = WaitForEvent;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 21 20:09:00 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/stream_executor/stream_executor_internal.h

          stream_handle_ = nullptr;
        }
      }
      absl::Status RefreshStatus() override {
        tensorflow::TF_StatusPtr c_status(TF_NewStatus());
        stream_executor_->get_stream_status(device_, stream_handle_,
                                            c_status.get());
        absl::Status status = tensorflow::StatusFromTF_Status(c_status.get());
        CheckStatus(status);
        return status;
      }
    
    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, 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);
      TF_VALIDATE_NOT_NULL(SP_StreamExecutor, se, destroy_event);
      TF_VALIDATE_NOT_NULL(SP_StreamExecutor, se, get_event_status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/stream_executor/stream_executor.h

                                       SP_Stream other, TF_Status* status);
    
      // Without blocking the device, retrieve the current stream status.
      void (*get_stream_status)(const SP_Device* device, SP_Stream stream,
                                TF_Status* status);
    
      /*** EVENT CALLBACKS ***/
      // Create SP_Event. Performs platform-specific allocation and initialization
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 24 08:40:35 UTC 2022
    - 21.6K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/stream_executor/stream_executor_test.cc

      TF_ASSERT_OK(dependent->WaitFor(other.get()));
      ASSERT_TRUE(create_stream_dependency_called);
    }
    
    TEST_F(StreamExecutorTest, StreamStatus) {
      static bool status_ok = true;
      se_.get_stream_status = [](const SP_Device* const device, SP_Stream stream,
                                 TF_Status* const status) -> void {
        if (status_ok) {
          TF_SetStatus(status, TF_OK, "");
        } else {
    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