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

Function getRawCoeff

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

Source from the content-addressed store, hash-verified

683 * \return the entry at that index
684 */
685 __device__ CUMAT_STRONG_INLINE _Scalar getRawCoeff(Index index) const
686 {
687 CUMAT_ASSERT_CUDA(index >= 0);
688 CUMAT_ASSERT_CUDA(index < size());
689 //printf("[Thread %06d] memread %p at %i\n", int(blockIdx.x * blockDim.x + threadIdx.x), data_.data(), int(index));
690 return cuda::load(data_.data() + index);
691 }
692
693 /**
694 * \brief Access to the linearized coefficient, read-only.

Callers 1

SparseMatrix.hFile · 0.85

Calls 3

sizeFunction · 0.85
loadFunction · 0.85
dataMethod · 0.45

Tested by

no test coverage detected