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

Method context

tensorflow/stream_executor/cuda/cuda_driver.h:47–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 GpuContext(CUcontext context, int64 id) : context_(context), id_(id), is_single_stream_mode_(false) {}
46
47 CUcontext context() const { return context_; }
48 int64 id() const { return id_; }
49
50 void enable_single_stream_mode() { is_single_stream_mode_ = true; }

Callers 15

ScopedActivateContextMethod · 0.45
DestroyContextMethod · 0.45
CreateStreamMethod · 0.45
DestroyStreamMethod · 0.45
DeviceAllocateMethod · 0.45
DeviceDeallocateMethod · 0.45
UnifiedMemoryAllocateMethod · 0.45
SynchronousMemcpyD2DMethod · 0.45
AsynchronousMemcpyD2DMethod · 0.45
EnablePeerAccessMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected