-
Notifications
You must be signed in to change notification settings - Fork 97
BLAS 1::rotm
Luc Berger edited this page Apr 23, 2024
·
1 revision
Header File: KokkosBlas1_rotm.hpp
Usage: KokkosBlas::rotm(space, X, Y, param);
KokkosBlas::rotm(X, Y, param);
Applies a rotation of angle alpha
defined by c=cos(alpha)
and s=sin(alpha)
to the vectors X
and Y
in the x-y plane.
template <class execution_space, class VectorView, class ParamView>
void rotm(execution_space const& space, VectorView const& X,
VectorView const& Y, ParamView const& param)
template <class VectorView, class ParamView>
void rotm(VectorView const& X, VectorView const& Y, ParamView const& param)
- execution_space: the backend that will be used to run this kernel
- VectorView: the type of the input views
X
andY
- ParamView: the type of the param input
- space: the execution space instance passed to the Kokkos execution policy to run the kernel on
- X: Vector to rotate
- Y: Vector to rotate
- param: Input flag and rotation matrix values store in a rank-1 static view of extent 5