AddMultiply Struct Reference

AddMultiply Struct Reference#

Composable Kernel: ck::tensor_operation::element_wise::AddMultiply Struct Reference
ck::tensor_operation::element_wise::AddMultiply Struct Reference

#include <element_wise_operation.hpp>

Public Member Functions

template<typename E, typename C, typename D0, typename D1>
__host__ __device__ void operator() (E &e, const C &c, const D0 &d0, const D1 &d1) const
template<>
__host__ __device__ void operator() (half_t &e, const half_t &c, const half_t &d0, const half_t &d1) const
template<>
__host__ __device__ void operator() (half_t &e, const float &c, const half_t &d0, const half_t &d1) const
template<>
__host__ __device__ void operator() (float &e, const float &c, const half_t &d0, const half_t &d1) const

Static Public Attributes

static constexpr const char * name = "AddMultiply"

Member Function Documentation

◆ operator()() [1/4]

template<typename E, typename C, typename D0, typename D1>
__host__ __device__ void ck::tensor_operation::element_wise::AddMultiply::operator() ( E & e,
const C & c,
const D0 & d0,
const D1 & d1 ) const

◆ operator()() [2/4]

template<>
__host__ __device__ void ck::tensor_operation::element_wise::AddMultiply::operator() ( float & e,
const float & c,
const half_t & d0,
const half_t & d1 ) const
inline

◆ operator()() [3/4]

template<>
__host__ __device__ void ck::tensor_operation::element_wise::AddMultiply::operator() ( half_t & e,
const float & c,
const half_t & d0,
const half_t & d1 ) const
inline

◆ operator()() [4/4]

template<>
__host__ __device__ void ck::tensor_operation::element_wise::AddMultiply::operator() ( half_t & e,
const half_t & c,
const half_t & d0,
const half_t & d1 ) const
inline

Member Data Documentation

◆ name

const char* ck::tensor_operation::element_wise::AddMultiply::name = "AddMultiply"
staticconstexpr

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