alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::math::trait::Rsqrt< RsqrtUniformCudaHipBuiltIn, Complex< T > > Struct Template Reference

The CUDA rsqrt trait specialization for complex types. More...

#include <MathUniformCudaHipBuiltIn.hpp>

Public Member Functions

template<typename TCtx >
__host__ __device__ auto operator() (TCtx const &ctx, Complex< T > const &arg)
 Take context as original (accelerator) type, since we call other math functions. More...
 

Detailed Description

template<typename T>
struct alpaka::math::trait::Rsqrt< RsqrtUniformCudaHipBuiltIn, Complex< T > >

The CUDA rsqrt trait specialization for complex types.

Definition at line 1149 of file MathUniformCudaHipBuiltIn.hpp.

Member Function Documentation

◆ operator()()

template<typename T >
template<typename TCtx >
__host__ __device__ auto alpaka::math::trait::Rsqrt< RsqrtUniformCudaHipBuiltIn, Complex< T > >::operator() ( TCtx const &  ctx,
Complex< T > const &  arg 
)
inline

Take context as original (accelerator) type, since we call other math functions.

Definition at line 1153 of file MathUniformCudaHipBuiltIn.hpp.


The documentation for this struct was generated from the following file: