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

Function size

extensions/include/cuMat/src/MatrixBase.h:54–54  ·  view source on GitHub ↗

* \brief Returns the total number of entries in this matrix. * This value is computed as \code rows()*cols()*batches()* \endcode * \return the total number of entries */

Source from the content-addressed store, hash-verified

52 * \return the total number of entries
53 */
54 __host__ __device__ CUMAT_STRONG_INLINE Index size() const { return rows()*cols()*batches(); }
55
56 // EVALUATION
57

Callers 8

evalToMethod · 0.85
evalToMethod · 0.85
setRawCoeffFunction · 0.85
getRawCoeffFunction · 0.85
Matrix.hFile · 0.85
copyFromHostFunction · 0.85
copyToHostFunction · 0.85
setZeroFunction · 0.85

Calls 3

rowsFunction · 0.70
colsFunction · 0.70
batchesFunction · 0.70

Tested by

no test coverage detected