MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Init

Method Init

tensorflow/stream_executor/event.cc:39–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39bool Event::Init() {
40 auto status = stream_exec_->AllocateEvent(this);
41 if (!status.ok()) {
42 LOG(ERROR) << status.error_message();
43 return false;
44 }
45
46 return true;
47}
48
49Event::Status Event::PollForStatus() {
50 return stream_exec_->PollForEventStatus(this);

Callers 3

mainFunction · 0.45
TEST_FFunction · 0.45
GetOrCreateSubStreamMethod · 0.45

Calls 2

AllocateEventMethod · 0.45
okMethod · 0.45

Tested by 1

TEST_FFunction · 0.36