| 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. |
no test coverage detected