- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for SE_EventStatus (0.11 sec)
-
tensorflow/c/experimental/stream_executor/stream_executor.h
// Potential states for an SP_Event. If `poll_for_status` returns anything aside // from kPending or kComplete, an error has occurred; kUnknown is a bad state. typedef enum SE_EventStatus { SE_EVENT_UNKNOWN, SE_EVENT_ERROR, SE_EVENT_PENDING, SE_EVENT_COMPLETE, } SE_EventStatus; // Memory allocation information. // This matches DeviceMemoryBase defined here:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 24 08:40:35 UTC 2022 - 21.6K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor_test_util.cc
void CreateEvent(const SP_Device* const device, SP_Event* event, TF_Status* const status) { *event = nullptr; } void DestroyEvent(const SP_Device* const device, SP_Event event) {} SE_EventStatus GetEventStatus(const SP_Device* const device, SP_Event event) { return SE_EVENT_UNKNOWN; } void RecordEvent(const SP_Device* const device, SP_Stream stream, SP_Event event, TF_Status* const status) {}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 21 20:09:00 UTC 2023 - 8.7K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor_internal.h
: device_(device), stream_executor_(stream_executor), event_handle_(nullptr) {} ~CEvent() override { Destroy(); } Event::Status PollForStatus() override { SE_EventStatus event_status = stream_executor_->get_event_status(device_, event_handle_); switch (event_status) { case SE_EVENT_ERROR: return Event::Status::kError; case SE_EVENT_PENDING:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jun 14 07:39:19 UTC 2024 - 8K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor_test.cc
ASSERT_TRUE(event_created); ASSERT_FALSE(event_deleted); event.reset(); ASSERT_TRUE(event_deleted); } TEST_F(StreamExecutorTest, PollForEventStatus) { static SE_EventStatus event_status = SE_EVENT_COMPLETE; se_.create_event = [](const SP_Device* const device, SP_Event* event, TF_Status* const status) -> void { *event = new SP_Event_st(123); };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 19:54:04 UTC 2024 - 26.5K bytes - Viewed (0)