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

Function GetGpuContext

tensorflow/stream_executor/rocm/rocm_gpu_executor.cc:89–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89static GpuContext* GetGpuContext(Stream* stream) {
90 return static_cast<GpuExecutor*>(stream->parent()->implementation())
91 ->gpu_context();
92}
93
94GpuContext* ExtractGpuContext(GpuExecutor* rocm_exec) {
95 CHECK(rocm_exec != nullptr);

Callers 1

LaunchMethod · 0.85

Calls 3

gpu_contextMethod · 0.45
implementationMethod · 0.45
parentMethod · 0.45

Tested by

no test coverage detected