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

The CUDA sincos 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, Complex< T > &result_sin, Complex< T > &result_cos) -> void
 Take context as original (accelerator) type, since we call other math functions. More...
 

Detailed Description

template<typename T>
struct alpaka::math::trait::SinCos< SinCosUniformCudaHipBuiltIn, Complex< T > >

The CUDA sincos trait specialization for complex types.

Definition at line 1241 of file MathUniformCudaHipBuiltIn.hpp.

Member Function Documentation

◆ operator()()

template<typename T >
template<typename TCtx >
__host__ __device__ auto alpaka::math::trait::SinCos< SinCosUniformCudaHipBuiltIn, Complex< T > >::operator() ( TCtx const &  ctx,
Complex< T > const &  arg,
Complex< T > &  result_sin,
Complex< T > &  result_cos 
) -> void
inline

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

Definition at line 1245 of file MathUniformCudaHipBuiltIn.hpp.


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