- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SE_EventStatus (4.25 sec)
-
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)