mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-06 22:55:08 +00:00
psblas3:
test/kernel/d_file_spmv.f90 test/kernel/pdgenspmv.f90 test/kernel/s_file_spmv.f90 Simplified flops count.
This commit is contained in:
@@ -247,7 +247,7 @@ program d_file_spmv
|
||||
call psb_sum(ictxt,descsize)
|
||||
|
||||
if (iam==psb_root_) then
|
||||
flops = 1.d1*2*annz
|
||||
flops = 2.d0*times*annz
|
||||
tflops=flops
|
||||
write(psb_out_unit,'("Matrix: ",a)') mtrx_file
|
||||
write(psb_out_unit,'("Test on : ",i20," processors")') np
|
||||
|
||||
@@ -141,7 +141,7 @@ program pdgenspmv
|
||||
call psb_sum(ictxt,descsize)
|
||||
|
||||
if (iam == psb_root_) then
|
||||
flops = 1.d1*2*annz
|
||||
flops = 2.d0*times*annz
|
||||
tflops=flops
|
||||
write(psb_out_unit,'("Matrix: ell1 ",i0)') idim
|
||||
write(psb_out_unit,'("Test on : ",i20," processors")') np
|
||||
|
||||
@@ -247,7 +247,7 @@ program s_file_spmv
|
||||
call psb_sum(ictxt,descsize)
|
||||
|
||||
if (iam==psb_root_) then
|
||||
flops = 1.d1*2*annz
|
||||
flops = 2.d0*times*annz
|
||||
tflops=flops
|
||||
write(psb_out_unit,'("Matrix: ",a)') mtrx_file
|
||||
write(psb_out_unit,'("Test on : ",i20," processors")') np
|
||||
|
||||
Reference in New Issue
Block a user