Prefetch in sparse-full-mv

This commit is contained in:
Anthony Scemama 2016-06-03 13:54:23 +02:00
parent 3ccee1b3f0
commit 033025c0ea
1 changed files with 8 additions and 0 deletions

View File

@ -690,6 +690,14 @@ subroutine sparse_full_mv(A,LDA, &
! LDC and LDA have to be factors of simd_sp
IRP_IF NO_PREFETCH
IRP_ELSE
call MM_PREFETCH (A(j,indices(1)),3)
call MM_PREFETCH (A(j,indices(2)),3)
call MM_PREFETCH (A(j,indices(3)),3)
call MM_PREFETCH (A(j,indices(4)),3)
IRP_ENDIF
!DIR$ VECTOR ALIGNED
do j=1,LDC
C1(j) = 0.