BinaryWithUnaryCombinedOp< BinaryOp, UnaryOp0, UnaryOp1 > Struct Template Reference

BinaryWithUnaryCombinedOp&lt; BinaryOp, UnaryOp0, UnaryOp1 &gt; Struct Template Reference#

Composable Kernel: ck::tensor_operation::element_wise::BinaryWithUnaryCombinedOp< BinaryOp, UnaryOp0, UnaryOp1 > Struct Template Reference
ck::tensor_operation::element_wise::BinaryWithUnaryCombinedOp< BinaryOp, UnaryOp0, UnaryOp1 > Struct Template Reference

#include <combined_element_wise_operation.hpp>

Public Member Functions

__host__ __device__ BinaryWithUnaryCombinedOp ()
__host__ __device__ BinaryWithUnaryCombinedOp (BinaryOp binary_op, UnaryOp0 unary_op0, UnaryOp1 unary_op1)
template<typename Y, typename X0, typename X1>
__host__ __device__ void operator() (Y &y, const X0 &x0, const X1 &x1) const

Static Public Attributes

static constexpr const char * name = "BinaryWithUnaryCombinedOp"

Constructor & Destructor Documentation

◆ BinaryWithUnaryCombinedOp() [1/2]

template<typename BinaryOp, typename UnaryOp0, typename UnaryOp1>
__host__ __device__ ck::tensor_operation::element_wise::BinaryWithUnaryCombinedOp< BinaryOp, UnaryOp0, UnaryOp1 >::BinaryWithUnaryCombinedOp ( )
inline

◆ BinaryWithUnaryCombinedOp() [2/2]

template<typename BinaryOp, typename UnaryOp0, typename UnaryOp1>
__host__ __device__ ck::tensor_operation::element_wise::BinaryWithUnaryCombinedOp< BinaryOp, UnaryOp0, UnaryOp1 >::BinaryWithUnaryCombinedOp ( BinaryOp binary_op,
UnaryOp0 unary_op0,
UnaryOp1 unary_op1 )
inline

Member Function Documentation

◆ operator()()

template<typename BinaryOp, typename UnaryOp0, typename UnaryOp1>
template<typename Y, typename X0, typename X1>
__host__ __device__ void ck::tensor_operation::element_wise::BinaryWithUnaryCombinedOp< BinaryOp, UnaryOp0, UnaryOp1 >::operator() ( Y & y,
const X0 & x0,
const X1 & x1 ) const
inline

Member Data Documentation

◆ name

template<typename BinaryOp, typename UnaryOp0, typename UnaryOp1>
const char* ck::tensor_operation::element_wise::BinaryWithUnaryCombinedOp< BinaryOp, UnaryOp0, UnaryOp1 >::name = "BinaryWithUnaryCombinedOp"
staticconstexpr

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