Template Struct axpy_KokkosFunctor¶
Defined in File LinearAlgebraKokkos.hpp
Struct Documentation¶
-
template<class PrecisionT>
struct axpy_KokkosFunctor¶ Kokkos functor for \(y+=\alpha*x\) operation.
Public Functions
-
inline axpy_KokkosFunctor(Kokkos::complex<PrecisionT> alpha_, Kokkos::View<Kokkos::complex<PrecisionT>*> x_, Kokkos::View<Kokkos::complex<PrecisionT>*> y_)¶
- inline KOKKOS_INLINE_FUNCTION void operator() (const std::size_t k) const
Public Members
-
Kokkos::complex<PrecisionT> alpha¶
-
Kokkos::View<Kokkos::complex<PrecisionT>*> x¶
-
Kokkos::View<Kokkos::complex<PrecisionT>*> y¶
-
inline axpy_KokkosFunctor(Kokkos::complex<PrecisionT> alpha_, Kokkos::View<Kokkos::complex<PrecisionT>*> x_, Kokkos::View<Kokkos::complex<PrecisionT>*> y_)¶
api/structPennylane_1_1LightningKokkos_1_1Util_1_1axpy__KokkosFunctor
Download Python script
Download Notebook
View on GitHub