MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / getCounter

Function getCounter

extensions/include/cuMat/src/DevicePointer.h:147–147  ·  view source on GitHub ↗

* \brief Returns the current value of the reference counter. * This can be used to determine if this memory is used uniquely * by an object. * \return the current number of references */

Source from the content-addressed store, hash-verified

145 * \return the current number of references
146 */
147 size_t getCounter() const { return counter_ ? *counter_ : 0; }
148};
149
150CUMAT_NAMESPACE_END

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected