alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::math::trait::Pow< PowUniformCudaHipBuiltIn, Complex< T >, U > Struct Template Reference

The CUDA pow trait specialization for complex and real types. More...

#include <MathUniformCudaHipBuiltIn.hpp>

Public Member Functions

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

Detailed Description

template<typename T, typename U>
struct alpaka::math::trait::Pow< PowUniformCudaHipBuiltIn, Complex< T >, U >

The CUDA pow trait specialization for complex and real types.

Definition at line 1029 of file MathUniformCudaHipBuiltIn.hpp.

Member Function Documentation

◆ operator()()

template<typename T , typename U >
template<typename TCtx >
__host__ __device__ auto alpaka::math::trait::Pow< PowUniformCudaHipBuiltIn, Complex< T >, U >::operator() ( TCtx const &  ctx,
Complex< T > const &  base,
U const &  exponent 
)
inline

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

Definition at line 1033 of file MathUniformCudaHipBuiltIn.hpp.


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