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

Function AsGpuEvent

tensorflow/stream_executor/rocm/rocm_gpu_executor.cc:62–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60namespace gpu {
61
62static GpuEvent* AsGpuEvent(Event* event) {
63 DCHECK(event != nullptr);
64 return static_cast<GpuEvent*>(event->implementation());
65}
66
67// Given a platform-independent timer datatype, returns the internal ROCM
68// platform implementation pointer.

Callers 5

AllocateEventMethod · 0.70
DeallocateEventMethod · 0.70
RecordEventMethod · 0.70
WaitForEventMethod · 0.70
PollForEventStatusMethod · 0.70

Calls 1

implementationMethod · 0.45

Tested by

no test coverage detected