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

Method Reset

tensorflow/stream_executor/device_memory.h:104–107  ·  view source on GitHub ↗

Resets the internal values of the opaque pointer and number of bytes in the memory region, just as in the constructor.

Source from the content-addressed store, hash-verified

102 // Resets the internal values of the opaque pointer and number of bytes in the
103 // memory region, just as in the constructor.
104 void Reset(void *opaque, uint64 bytes) {
105 opaque_ = opaque;
106 size_ = bytes;
107 }
108
109 private:
110 void *opaque_; // Platform-dependent value representing allocated memory.

Callers 1

DeallocateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected