#include <element_wise_operation.hpp>
|
| template<typename E, typename C, typename D0, typename D1> |
| __host__ __device__ constexpr void | operator() (E &e, const C &c, const D0 &d0, const D1 &d1) const |
| template<> |
| __host__ __device__ constexpr void | operator() (float &e, const float &c, const float &d0, const float &d1) const |
| template<> |
| __host__ __device__ constexpr void | operator() (half_t &e, const half_t &c, const half_t &d0, const half_t &d1) const |
| template<> |
| __host__ __device__ constexpr void | operator() (half_t &e, const float &c, const half_t &d0, const half_t &d1) const |
| template<> |
| __host__ __device__ constexpr void | operator() (bhalf_t &e, const float &c, const bhalf_t &d0, const bhalf_t &d1) const |
| template<> |
| __host__ __device__ constexpr void | operator() (int8_t &e, const int32_t &c, const int8_t &d0, const int8_t &d1) const |
|
| static constexpr const char * | name = "AddAddFastGelu" |
◆ operator()() [1/6]
template<>
| __host__ __device__ constexpr void ck::tensor_operation::element_wise::AddAddFastGelu::operator() |
( |
bhalf_t & | e, |
|
|
const float & | c, |
|
|
const bhalf_t & | d0, |
|
|
const bhalf_t & | d1 ) const |
|
inlineconstexpr |
◆ operator()() [2/6]
template<typename E, typename C, typename D0, typename D1>
| __host__ __device__ constexpr void ck::tensor_operation::element_wise::AddAddFastGelu::operator() |
( |
E & | e, |
|
|
const C & | c, |
|
|
const D0 & | d0, |
|
|
const D1 & | d1 ) const |
|
constexpr |
◆ operator()() [3/6]
template<>
| __host__ __device__ constexpr void ck::tensor_operation::element_wise::AddAddFastGelu::operator() |
( |
float & | e, |
|
|
const float & | c, |
|
|
const float & | d0, |
|
|
const float & | d1 ) const |
|
inlineconstexpr |
◆ operator()() [4/6]
template<>
| __host__ __device__ constexpr void ck::tensor_operation::element_wise::AddAddFastGelu::operator() |
( |
half_t & | e, |
|
|
const float & | c, |
|
|
const half_t & | d0, |
|
|
const half_t & | d1 ) const |
|
inlineconstexpr |
◆ operator()() [5/6]
template<>
| __host__ __device__ constexpr void ck::tensor_operation::element_wise::AddAddFastGelu::operator() |
( |
half_t & | e, |
|
|
const half_t & | c, |
|
|
const half_t & | d0, |
|
|
const half_t & | d1 ) const |
|
inlineconstexpr |
◆ operator()() [6/6]
template<>
| __host__ __device__ constexpr void ck::tensor_operation::element_wise::AddAddFastGelu::operator() |
( |
int8_t & | e, |
|
|
const int32_t & | c, |
|
|
const int8_t & | d0, |
|
|
const int8_t & | d1 ) const |
|
inlineconstexpr |
◆ name
| const char* ck::tensor_operation::element_wise::AddAddFastGelu::name = "AddAddFastGelu" |
|
staticconstexpr |
The documentation for this struct was generated from the following file: