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

Method is_null

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

Returns whether the backing memory is the null pointer. A `== nullptr` convenience method is also provided.

Source from the content-addressed store, hash-verified

65 // Returns whether the backing memory is the null pointer.
66 // A `== nullptr` convenience method is also provided.
67 bool is_null() const { return opaque_ == nullptr; }
68 bool operator==(std::nullptr_t other) const { return is_null(); }
69 bool operator!=(std::nullptr_t other) const { return !is_null(); }
70

Callers 15

AllocateZeroedMethod · 0.45
DeallocateMethod · 0.45
ToShapedBufferMethod · 0.45
ToDeviceMemoryTreeMethod · 0.45
make_recv_callbackFunction · 0.45
TESTFunction · 0.45
DeallocateMethod · 0.45
DeallocateMethod · 0.45
TESTFunction · 0.45
set_bufferMethod · 0.45

Calls

no outgoing calls

Tested by 3

TESTFunction · 0.36
DeallocateMethod · 0.36
TESTFunction · 0.36