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

Function swap

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

Source from the content-addressed store, hash-verified

122 }
123
124 __host__ __device__
125 void swap(DevicePointer<T>& rhs) throw()
126 {
127 std::swap(pointer_, rhs.pointer_);
128 std::swap(counter_, rhs.counter_);
129 std::swap(context_, rhs.context_);
130 }
131
132 __host__ __device__
133 ~DevicePointer()

Callers 9

swapMethod · 0.85
swapMethod · 0.85
swapMethod · 0.85
swapMethod · 0.85
swapMethod · 0.85
swapMethod · 0.85
swapMethod · 0.85
swapMethod · 0.85
swapMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected