|
|
@ -3892,8 +3892,8 @@ contains
|
|
|
|
call psb_realloc(c%irp(ma + 1), c%ja, info)
|
|
|
|
call psb_realloc(c%irp(ma + 1), c%ja, info)
|
|
|
|
!$omp end single
|
|
|
|
!$omp end single
|
|
|
|
|
|
|
|
|
|
|
|
c%val(c%irp(start_idx):c%irp(start_idx) + nnz) = vals(1:nnz)
|
|
|
|
c%val(c%irp(start_idx):c%irp(end_idx + 1) - 1) = vals(1:nnz)
|
|
|
|
c%ja(c%irp(start_idx):c%irp(start_idx) + nnz) = col_inds(1:nnz)
|
|
|
|
c%ja(c%irp(start_idx):c%irp(end_idx + 1) - 1) = col_inds(1:nnz)
|
|
|
|
!$omp end parallel
|
|
|
|
!$omp end parallel
|
|
|
|
end subroutine spmm_omp_gustavson
|
|
|
|
end subroutine spmm_omp_gustavson
|
|
|
|
|
|
|
|
|
|
|
@ -4011,8 +4011,8 @@ contains
|
|
|
|
call psb_realloc(c%irp(ma + 1), c%ja, info)
|
|
|
|
call psb_realloc(c%irp(ma + 1), c%ja, info)
|
|
|
|
!$omp end single
|
|
|
|
!$omp end single
|
|
|
|
|
|
|
|
|
|
|
|
c%val(c%irp(start_idx):c%irp(start_idx) + nnz) = vals(1:nnz)
|
|
|
|
c%val(c%irp(start_idx):c%irp(end_idx + 1) - 1) = vals(1:nnz)
|
|
|
|
c%ja(c%irp(start_idx):c%irp(start_idx) + nnz) = col_inds(1:nnz)
|
|
|
|
c%ja(c%irp(start_idx):c%irp(end_idx + 1) - 1) = col_inds(1:nnz)
|
|
|
|
!$omp end parallel
|
|
|
|
!$omp end parallel
|
|
|
|
end subroutine spmm_omp_gustavson_1d
|
|
|
|
end subroutine spmm_omp_gustavson_1d
|
|
|
|
|
|
|
|
|
|
|
|