test/kernel/d_file_spmv.f90
 test/kernel/pdgenspmv.f90
 test/kernel/s_file_spmv.f90

Simplified flops count.
psblas-3.2.0
Salvatore Filippone 11 years ago
parent e8acd58814
commit c590c5a3ee

@ -247,7 +247,7 @@ program d_file_spmv
call psb_sum(ictxt,descsize) call psb_sum(ictxt,descsize)
if (iam==psb_root_) then if (iam==psb_root_) then
flops = 1.d1*2*annz flops = 2.d0*times*annz
tflops=flops tflops=flops
write(psb_out_unit,'("Matrix: ",a)') mtrx_file write(psb_out_unit,'("Matrix: ",a)') mtrx_file
write(psb_out_unit,'("Test on : ",i20," processors")') np write(psb_out_unit,'("Test on : ",i20," processors")') np

@ -141,7 +141,7 @@ program pdgenspmv
call psb_sum(ictxt,descsize) call psb_sum(ictxt,descsize)
if (iam == psb_root_) then if (iam == psb_root_) then
flops = 1.d1*2*annz flops = 2.d0*times*annz
tflops=flops tflops=flops
write(psb_out_unit,'("Matrix: ell1 ",i0)') idim write(psb_out_unit,'("Matrix: ell1 ",i0)') idim
write(psb_out_unit,'("Test on : ",i20," processors")') np write(psb_out_unit,'("Test on : ",i20," processors")') np

@ -247,7 +247,7 @@ program s_file_spmv
call psb_sum(ictxt,descsize) call psb_sum(ictxt,descsize)
if (iam==psb_root_) then if (iam==psb_root_) then
flops = 1.d1*2*annz flops = 2.d0*times*annz
tflops=flops tflops=flops
write(psb_out_unit,'("Matrix: ",a)') mtrx_file write(psb_out_unit,'("Matrix: ",a)') mtrx_file
write(psb_out_unit,'("Test on : ",i20," processors")') np write(psb_out_unit,'("Test on : ",i20," processors")') np

Loading…
Cancel
Save