HipVectorCompatibility.h
Go to the documentation of this file.
1 #ifndef HIP_VECTOR_COMPATIBILITY_H
2 #define HIP_VECTOR_COMPATIBILITY_H
3 
4 namespace hip_impl {
5  template <typename, typename, unsigned int> struct Scalar_accessor;
6 } // end namespace hip_impl
7 
8 namespace Eigen {
9 namespace internal {
10 
11 #define HIP_SCALAR_ACCESSOR_BUILDER(NAME) \
12 template <typename T, typename U, unsigned int n> \
13 struct NAME <hip_impl::Scalar_accessor<T, U, n>> : NAME <T> {};
14 
15 #define HIP_SCALAR_ACCESSOR_BUILDER_RETVAL(NAME) \
16 template <typename T, typename U, unsigned int n> \
17 struct NAME##_impl <hip_impl::Scalar_accessor<T, U, n>> : NAME##_impl <T> {}; \
18 template <typename T, typename U, unsigned int n> \
19 struct NAME##_retval <hip_impl::Scalar_accessor<T, U, n>> : NAME##_retval <T> {};
20 
21 #define HIP_SCALAR_ACCESSOR_BUILDER_IGAMMA(NAME) \
22 template <typename T, typename U, unsigned int n, IgammaComputationMode mode> \
23 struct NAME <hip_impl::Scalar_accessor<T, U, n>, mode> : NAME <T, mode> {};
24 
25 #if EIGEN_HAS_C99_MATH
26 HIP_SCALAR_ACCESSOR_BUILDER(betainc_helper)
27 HIP_SCALAR_ACCESSOR_BUILDER(incbeta_cfe)
28 
35 
36 HIP_SCALAR_ACCESSOR_BUILDER_IGAMMA(igamma_generic_impl)
37 #endif
38 
39 HIP_SCALAR_ACCESSOR_BUILDER(digamma_impl_maybe_poly)
40 HIP_SCALAR_ACCESSOR_BUILDER(zeta_impl_series)
41 
60 
61 HIP_SCALAR_ACCESSOR_BUILDER_IGAMMA(igamma_series_impl)
63 
64 } // end namespace internal
65 } // end namespace Eigen
66 
67 #endif // HIP_VECTOR_COMPATIBILITY_H
EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_k1e_op< typename Derived::Scalar >, const Derived > bessel_k1e(const Eigen::ArrayBase< Derived > &x)
EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_i1e_op< typename Derived::Scalar >, const Derived > bessel_i1e(const Eigen::ArrayBase< Derived > &x)
#define HIP_SCALAR_ACCESSOR_BUILDER_RETVAL(NAME)
EIGEN_STRONG_INLINE const Eigen::CwiseBinaryOp< Eigen::internal::scalar_igamma_der_a_op< typename Derived::Scalar >, const Derived, const ExponentDerived > igamma_der_a(const Eigen::ArrayBase< Derived > &a, const Eigen::ArrayBase< ExponentDerived > &x)
EIGEN_DEVICE_FUNC const NdtriReturnType ndtri() const
EIGEN_DEVICE_FUNC const ErfReturnType erf() const
EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_j1_op< typename Derived::Scalar >, const Derived > bessel_j1(const Eigen::ArrayBase< Derived > &x)
EIGEN_STRONG_INLINE const Eigen::CwiseBinaryOp< Eigen::internal::scalar_gamma_sample_der_alpha_op< typename AlphaDerived::Scalar >, const AlphaDerived, const SampleDerived > gamma_sample_der_alpha(const Eigen::ArrayBase< AlphaDerived > &alpha, const Eigen::ArrayBase< SampleDerived > &sample)
Namespace containing all symbols from the Eigen library.
Definition: jet.h:637
#define HIP_SCALAR_ACCESSOR_BUILDER_IGAMMA(NAME)
EIGEN_DEVICE_FUNC const ErfcReturnType erfc() const
EIGEN_DEVICE_FUNC const LgammaReturnType lgamma() const
const CwiseBinaryOp< internal::scalar_zeta_op< Scalar >, const Derived, const DerivedQ > zeta(const EIGEN_CURRENT_STORAGE_BASE_CLASS< DerivedQ > &q) const
#define HIP_SCALAR_ACCESSOR_BUILDER(NAME)
EIGEN_DEVICE_FUNC const DigammaReturnType digamma() const
EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_y0_op< typename Derived::Scalar >, const Derived > bessel_y0(const Eigen::ArrayBase< Derived > &x)
EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_i0e_op< typename Derived::Scalar >, const Derived > bessel_i0e(const Eigen::ArrayBase< Derived > &x)
EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_i0_op< typename Derived::Scalar >, const Derived > bessel_i0(const Eigen::ArrayBase< Derived > &x)
EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_k1_op< typename Derived::Scalar >, const Derived > bessel_k1(const Eigen::ArrayBase< Derived > &x)
EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_k0e_op< typename Derived::Scalar >, const Derived > bessel_k0e(const Eigen::ArrayBase< Derived > &x)
EIGEN_STRONG_INLINE const Eigen::CwiseBinaryOp< Eigen::internal::scalar_igamma_op< typename Derived::Scalar >, const Derived, const ExponentDerived > igamma(const Eigen::ArrayBase< Derived > &a, const Eigen::ArrayBase< ExponentDerived > &x)
EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_y1_op< typename Derived::Scalar >, const Derived > bessel_y1(const Eigen::ArrayBase< Derived > &x)
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorCwiseTernaryOp< internal::scalar_betainc_op< typename XDerived::Scalar >, const ADerived, const BDerived, const XDerived > betainc(const ADerived &a, const BDerived &b, const XDerived &x)
EIGEN_STRONG_INLINE const Eigen::CwiseBinaryOp< Eigen::internal::scalar_igammac_op< typename Derived::Scalar >, const Derived, const ExponentDerived > igammac(const Eigen::ArrayBase< Derived > &a, const Eigen::ArrayBase< ExponentDerived > &x)
EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_k0_op< typename Derived::Scalar >, const Derived > bessel_k0(const Eigen::ArrayBase< Derived > &x)
EIGEN_STRONG_INLINE const Eigen::CwiseBinaryOp< Eigen::internal::scalar_polygamma_op< typename DerivedX::Scalar >, const DerivedN, const DerivedX > polygamma(const Eigen::ArrayBase< DerivedN > &n, const Eigen::ArrayBase< DerivedX > &x)
EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_j0_op< typename Derived::Scalar >, const Derived > bessel_j0(const Eigen::ArrayBase< Derived > &x)
EIGEN_STRONG_INLINE const Eigen::CwiseUnaryOp< Eigen::internal::scalar_bessel_i1_op< typename Derived::Scalar >, const Derived > bessel_i1(const Eigen::ArrayBase< Derived > &x)


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:34:19