Updating Kokkos lib to v2.03.05
This commit is contained in:
@ -242,7 +242,7 @@ void cgsolve( const ImportType & import
|
||||
|
||||
double old_rdot = Kokkos::Example::all_reduce( dot( count_owned , r , r ) , import.comm );
|
||||
|
||||
norm_res = sqrt( old_rdot );
|
||||
norm_res = std::sqrt( old_rdot );
|
||||
iteration = 0 ;
|
||||
|
||||
Kokkos::Timer wall_clock ;
|
||||
@ -269,7 +269,7 @@ void cgsolve( const ImportType & import
|
||||
|
||||
/* p = r + beta * p ; */ waxpby( count_owned , p , 1.0 , r , beta , p );
|
||||
|
||||
norm_res = sqrt( old_rdot = r_dot );
|
||||
norm_res = std::sqrt( old_rdot = r_dot );
|
||||
|
||||
++iteration ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user