mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-20 12:52:14 +00:00
Added psb_geabs, final output not working
This commit is contained in:
@@ -2770,7 +2770,7 @@ contains
|
||||
|
||||
if (x%is_dev()) call x%sync()
|
||||
if (allocated(x%v)) then
|
||||
call y%axpby(min(x%get_nrows(),y%get_nrows()),cone,x,czero,info)
|
||||
call y%axpby(min(x%get_nrows(),y%get_nrows()),czero,x,cone,info)
|
||||
call y%absval()
|
||||
end if
|
||||
|
||||
|
||||
@@ -2828,7 +2828,7 @@ contains
|
||||
|
||||
if (x%is_dev()) call x%sync()
|
||||
if (allocated(x%v)) then
|
||||
call y%axpby(min(x%get_nrows(),y%get_nrows()),done,x,dzero,info)
|
||||
call y%axpby(min(x%get_nrows(),y%get_nrows()),dzero,x,done,info)
|
||||
call y%absval()
|
||||
end if
|
||||
|
||||
|
||||
@@ -2828,7 +2828,7 @@ contains
|
||||
|
||||
if (x%is_dev()) call x%sync()
|
||||
if (allocated(x%v)) then
|
||||
call y%axpby(min(x%get_nrows(),y%get_nrows()),sone,x,szero,info)
|
||||
call y%axpby(min(x%get_nrows(),y%get_nrows()),szero,x,sone,info)
|
||||
call y%absval()
|
||||
end if
|
||||
|
||||
|
||||
@@ -2770,7 +2770,7 @@ contains
|
||||
|
||||
if (x%is_dev()) call x%sync()
|
||||
if (allocated(x%v)) then
|
||||
call y%axpby(min(x%get_nrows(),y%get_nrows()),zone,x,zzero,info)
|
||||
call y%axpby(min(x%get_nrows(),y%get_nrows()),zzero,x,zone,info)
|
||||
call y%absval()
|
||||
end if
|
||||
|
||||
|
||||
Reference in New Issue
Block a user