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

Method swap

extensions/include/cuMat/src/Matrix.h:57–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 CUMAT_ASSERT_ARGUMENT(rows == _Rows && cols == _Columns && batches == _Batches);
56 }
57 void swap(DenseStorage& other) { std::swap(data_, other.data_); }
58 static __host__ __device__ CUMAT_STRONG_INLINE Index rows() { return _Rows; }
59 static __host__ __device__ CUMAT_STRONG_INLINE Index cols() { return _Columns; }
60 static __host__ __device__ CUMAT_STRONG_INLINE Index batches() { return _Batches; }

Callers

nothing calls this directly

Calls 1

swapFunction · 0.85

Tested by

no test coverage detected