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

Method Notify

tensorflow/core/platform/default/notification.h:39–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37 }
38
39 void Notify() {
40 mutex_lock l(mu_);
41 assert(!HasBeenNotified());
42 notified_.store(true, std::memory_order_release);
43 cv_.notify_all();
44 }
45
46 bool HasBeenNotified() const {
47 return notified_.load(std::memory_order_acquire);

Callers 15

AddRequestMethod · 0.45
~MPISendTensorCallMethod · 0.45
BlockOnThreadExecutorFunction · 0.45
RecordEventMethod · 0.45
BlockUntilDoneMethod · 0.45
LoadHsacoMethod · 0.45
LoadPtxMethod · 0.45
TEST_FFunction · 0.45
GetNextWorkLockedMethod · 0.45
ComputeMethod · 0.45
StartCancelMethod · 0.45

Calls 1

notify_allMethod · 0.80

Tested by 15

TEST_FFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
RunTestMethod · 0.36
InitTensorMethod · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
RunMethod · 0.36
RunTestMethod · 0.36