Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for destroy_stream (0.46 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_test_util.cc

      se->host_memory_deallocate = HostMemoryDeallocate;
      se->get_allocator_stats = GetAllocatorStats;
      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;
    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_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)
  4. 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)
  5. tensorflow/c/experimental/stream_executor/stream_executor.h

      // internals.
      void (*create_stream)(const SP_Device* device, SP_Stream* stream,
                            TF_Status* status);
    
      // Destroys SP_Stream and deallocates any underlying resources.
      void (*destroy_stream)(const SP_Device* device, SP_Stream stream);
    
      // Causes `dependent` to not begin execution until `other` has finished its
      // last-enqueued work.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 24 08:40:35 UTC 2022
    - 21.6K bytes
    - Viewed (0)
Back to top