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

Function coeff

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

Source from the content-addressed store, hash-verified

653 * \return a read-only reference to the entry
654 */
655 __device__ CUMAT_STRONG_INLINE _Scalar coeff(Index row, Index col, Index batch, Index /*index*/) const
656 {
657 Index idx = index(row, col, batch);
658 //printf("[Thread %06d] memread %p at %i\n", int(blockIdx.x * blockDim.x + threadIdx.x), data_.data(), int(idx));
659 return cuda::load(data_.data() + idx);
660 }
661
662 /**
663 * \brief Access to the linearized coefficient, write-only.

Callers 3

setRawCoeffMethod · 0.70
getRawCoeffMethod · 0.70
MatrixBlockClass · 0.70

Calls 3

loadFunction · 0.85
indexFunction · 0.70
dataMethod · 0.45

Tested by

no test coverage detected