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