NTPoly
|
A module for wrapping the sparse algebra routines. More...
Functions/Subroutines | |
pure subroutine, public | scalesparsematrix_wrp (ih_this, constant) |
Wrap the scale a sparse matrix by a constant routine. More... | |
pure subroutine, public | incrementsparsematrix_wrp (ih_matA, ih_matB, alpha_in, threshold_in) |
Wrap matrix incrementing function. More... | |
pure real(ntreal) function, public | dotsparsematrix_wrp (ih_matA, ih_matB) |
Wrap matrix dot product function. More... | |
subroutine, public | pairwisemultiplysparsematrix_wrp (ih_matA, ih_matB, ih_matC) |
Wrap pairwise matrix multiplication function. More... | |
subroutine, public | gemm_wrp (ih_matA, ih_matB, ih_matC, IsATransposed, IsBTransposed, alpha, beta, threshold, ih_blocked_memory_pool) |
Wrap matrix multiplication function. More... | |
A module for wrapping the sparse algebra routines.
pure real(ntreal) function, public sparsematrixalgebramodule_wrp::dotsparsematrix_wrp | ( | integer(kind=c_int), dimension(size_wrp), intent(in) | ih_matA, |
integer(kind=c_int), dimension(size_wrp), intent(in) | ih_matB | ||
) |
Wrap matrix dot product function.
[in] | ih_matA | handle to Matrix A. |
[in,out] | ih_matB | handle to Matrix B. |
subroutine, public sparsematrixalgebramodule_wrp::gemm_wrp | ( | integer(kind=c_int), dimension(size_wrp), intent(in) | ih_matA, |
integer(kind=c_int), dimension(size_wrp), intent(in) | ih_matB, | ||
integer(kind=c_int), dimension(size_wrp), intent(inout) | ih_matC, | ||
logical(kind=c_bool), intent(in) | IsATransposed, | ||
logical(kind=c_bool), intent(in) | IsBTransposed, | ||
real(ntreal), intent(in) | alpha, | ||
real(ntreal), intent(in) | beta, | ||
real(ntreal), intent(in) | threshold, | ||
integer(kind=c_int), dimension(size_wrp), intent(inout) | ih_blocked_memory_pool | ||
) |
Wrap matrix multiplication function.
[in] | ih_matA | handle to Matrix A. |
[in] | ih_matB | handle to Matrix B. |
[out] | ih_matC | = alpha*matA*op( matB ) + beta*matC. |
[in] | IsATransposed | true if A is already transposed. |
[in] | IsBTransposed | true if B is already transposed. |
[in] | alpha | scales the multiplication. |
[in] | beta | scales matrix we sum on to. |
[in] | threshold | for flushing values to zero. |
[in,out] | ih_blocked_memory_pool | handle to memory pool. |
pure subroutine, public sparsematrixalgebramodule_wrp::incrementsparsematrix_wrp | ( | integer(kind=c_int), dimension(size_wrp), intent(in) | ih_matA, |
integer(kind=c_int), dimension(size_wrp), intent(inout) | ih_matB, | ||
real(ntreal), intent(in) | alpha_in, | ||
real(ntreal), intent(in) | threshold_in | ||
) |
Wrap matrix incrementing function.
[in] | ih_matA | handle to Matrix A. |
[in,out] | ih_matB | handle to Matrix B. |
[in] | alpha_in | multiplier. |
[in] | threshold_in | for flushing values to zero. |
subroutine, public sparsematrixalgebramodule_wrp::pairwisemultiplysparsematrix_wrp | ( | integer(kind=c_int), dimension(size_wrp), intent(in) | ih_matA, |
integer(kind=c_int), dimension(size_wrp), intent(in) | ih_matB, | ||
integer(kind=c_int), dimension(size_wrp), intent(inout) | ih_matC | ||
) |
Wrap pairwise matrix multiplication function.
[in] | ih_matA | handle to Matrix A. |
[in] | ih_matB | handle to Matrix B. |
[out] | ih_matC | = A pairwise B |
pure subroutine, public sparsematrixalgebramodule_wrp::scalesparsematrix_wrp | ( | integer(kind=c_int), dimension(size_wrp), intent(inout) | ih_this, |
real(ntreal), intent(in) | constant | ||
) |
Wrap the scale a sparse matrix by a constant routine.
[in,out] | ih_this | handle to the matrix to scale. |
[in] | constant | scale factor. |