mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-19 20:32:12 +00:00
Condition call to x%sync() in vect_mv
This commit is contained in:
@@ -2006,8 +2006,8 @@ subroutine psb_c_base_vect_mv(alpha,a,x,beta,y,info,trans)
|
||||
|
||||
! For the time being we just throw everything back
|
||||
! onto the normal routines.
|
||||
call x%sync()
|
||||
call y%sync()
|
||||
if (x%is_dev()) call x%sync()
|
||||
if (y%is_dev()) call y%sync()
|
||||
call a%spmm(alpha,x%v,beta,y%v,info,trans)
|
||||
call y%set_host()
|
||||
end subroutine psb_c_base_vect_mv
|
||||
|
||||
@@ -2006,8 +2006,8 @@ subroutine psb_d_base_vect_mv(alpha,a,x,beta,y,info,trans)
|
||||
|
||||
! For the time being we just throw everything back
|
||||
! onto the normal routines.
|
||||
call x%sync()
|
||||
call y%sync()
|
||||
if (x%is_dev()) call x%sync()
|
||||
if (y%is_dev()) call y%sync()
|
||||
call a%spmm(alpha,x%v,beta,y%v,info,trans)
|
||||
call y%set_host()
|
||||
end subroutine psb_d_base_vect_mv
|
||||
|
||||
@@ -2006,8 +2006,8 @@ subroutine psb_s_base_vect_mv(alpha,a,x,beta,y,info,trans)
|
||||
|
||||
! For the time being we just throw everything back
|
||||
! onto the normal routines.
|
||||
call x%sync()
|
||||
call y%sync()
|
||||
if (x%is_dev()) call x%sync()
|
||||
if (y%is_dev()) call y%sync()
|
||||
call a%spmm(alpha,x%v,beta,y%v,info,trans)
|
||||
call y%set_host()
|
||||
end subroutine psb_s_base_vect_mv
|
||||
|
||||
@@ -2006,8 +2006,8 @@ subroutine psb_z_base_vect_mv(alpha,a,x,beta,y,info,trans)
|
||||
|
||||
! For the time being we just throw everything back
|
||||
! onto the normal routines.
|
||||
call x%sync()
|
||||
call y%sync()
|
||||
if (x%is_dev()) call x%sync()
|
||||
if (y%is_dev()) call y%sync()
|
||||
call a%spmm(alpha,x%v,beta,y%v,info,trans)
|
||||
call y%set_host()
|
||||
end subroutine psb_z_base_vect_mv
|
||||
|
||||
Reference in New Issue
Block a user