35#ifndef _BLAZE_MATH_FUNCTORS_INVSQRT_H_
36#define _BLAZE_MATH_FUNCTORS_INVSQRT_H_
78 template<
typename T >
81 return invsqrt( std::forward<T>( a ) );
90 template<
typename T >
91 static constexpr bool simdEnabled() {
return HasSIMDInvSqrt_v<T>; }
108 template<
typename T >
129template<
typename T >
130struct YieldsUniform<InvSqrt,T>
131 :
public IsUniform<T>
147template<
typename MT >
148struct YieldsSymmetric<InvSqrt,MT>
149 :
public IsSymmetric<MT>
165template<
typename MT >
166struct YieldsHermitian<InvSqrt,MT>
167 :
public IsHermitian<MT>
Header file for the HasSIMDInvSqrt type trait.
Macro for CUDA compatibility.
Header file for the IsHermitian type trait.
Header file for the IsSymmetric type trait.
Header file for the YieldsHermitian type trait.
Header file for the YieldsSymmetric type trait.
Constraint on the data type.
#define BLAZE_CONSTRAINT_MUST_BE_SIMD_PACK(T)
Constraint on the data type.
Definition: SIMDPack.h:60
BLAZE_ALWAYS_INLINE const SIMDdouble invsqrt(const SIMDf64< T > &a) noexcept=delete
Computes the inverse square root for a vector of double precision floating point values.
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
#define BLAZE_DEVICE_CALLABLE
Conditional macro that sets host and device attributes when compiled with CUDA.
Definition: HostDevice.h:94
Header file for the invsqrt shim.
Header file for the SIMD inverse square root functionality.
Generic wrapper for the invsqrt() function.
Definition: InvSqrt.h:71
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data type T.
Definition: InvSqrt.h:91
static constexpr bool paddingEnabled()
Returns whether the operation supports padding, i.e. whether it can deal with zeros.
Definition: InvSqrt.h:99
BLAZE_ALWAYS_INLINE decltype(auto) load(const T &a) const
Returns the result of the invsqrt() function for the given SIMD vector.
Definition: InvSqrt.h:109
System settings for the inline keywords.