Add Struct Reference

Add Struct Reference#

Composable Kernel: ck_tile::element_wise::Add Struct Reference
ck_tile::element_wise::Add Struct Reference

#include <binary_elementwise_operation.hpp>

Public Member Functions

template<typename Y , typename X0 , typename X1 >
__host__ constexpr __device__ void operator() (Y &y, const X0 &x0, const X1 &x1) const
 
template<>
__host__ constexpr __device__ void operator() (float &y, const float &x0, const float &x1) const
 
template<>
__host__ constexpr __device__ void operator() (double &y, const double &x0, const double &x1) const
 
template<>
__host__ constexpr __device__ void operator() (float &y, const float &x0, const half_t &x1) const
 
template<>
__host__ constexpr __device__ void operator() (half_t &y, const float &x0, const float &x1) const
 
template<>
__host__ constexpr __device__ void operator() (half_t &y, const float &x0, const half_t &x1) const
 
template<>
__host__ constexpr __device__ void operator() (half_t &y, const half_t &x0, const half_t &x1) const
 
template<>
__host__ constexpr __device__ void operator() (float &y, const float &x0, const bf16_t &x1) const
 
template<>
__host__ constexpr __device__ void operator() (bf16_t &y, const bf16_t &x0, const bf16_t &x1) const
 
template<>
__host__ constexpr __device__ void operator() (bf16_t &y, const float &x0, const bf16_t &x1) const
 
template<>
__host__ constexpr __device__ void operator() (int8_t &y, const int8_t &x0, const int8_t &x1) const
 

Member Function Documentation

◆ operator()() [1/11]

template<>
__host__ constexpr __device__ void ck_tile::element_wise::Add::operator() ( bf16_t y,
const bf16_t x0,
const bf16_t x1 
) const
inlineconstexpr

◆ operator()() [2/11]

template<>
__host__ constexpr __device__ void ck_tile::element_wise::Add::operator() ( bf16_t y,
const float &  x0,
const bf16_t x1 
) const
inlineconstexpr

◆ operator()() [3/11]

template<>
__host__ constexpr __device__ void ck_tile::element_wise::Add::operator() ( double &  y,
const double &  x0,
const double &  x1 
) const
inlineconstexpr

◆ operator()() [4/11]

template<>
__host__ constexpr __device__ void ck_tile::element_wise::Add::operator() ( float &  y,
const float &  x0,
const bf16_t x1 
) const
inlineconstexpr

◆ operator()() [5/11]

template<>
__host__ constexpr __device__ void ck_tile::element_wise::Add::operator() ( float &  y,
const float &  x0,
const float &  x1 
) const
inlineconstexpr

◆ operator()() [6/11]

template<>
__host__ constexpr __device__ void ck_tile::element_wise::Add::operator() ( float &  y,
const float &  x0,
const half_t x1 
) const
inlineconstexpr

◆ operator()() [7/11]

template<>
__host__ constexpr __device__ void ck_tile::element_wise::Add::operator() ( half_t y,
const float &  x0,
const float &  x1 
) const
inlineconstexpr

◆ operator()() [8/11]

template<>
__host__ constexpr __device__ void ck_tile::element_wise::Add::operator() ( half_t y,
const float &  x0,
const half_t x1 
) const
inlineconstexpr

◆ operator()() [9/11]

template<>
__host__ constexpr __device__ void ck_tile::element_wise::Add::operator() ( half_t y,
const half_t x0,
const half_t x1 
) const
inlineconstexpr

◆ operator()() [10/11]

template<>
__host__ constexpr __device__ void ck_tile::element_wise::Add::operator() ( int8_t y,
const int8_t x0,
const int8_t x1 
) const
inlineconstexpr

◆ operator()() [11/11]

template<typename Y , typename X0 , typename X1 >
__host__ constexpr __device__ void ck_tile::element_wise::Add::operator() ( Y &  y,
const X0 &  x0,
const X1 &  x1 
) const
constexpr

The documentation for this struct was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/docs-7.1.0/include/ck_tile/ops/elementwise/binary_elementwise_operation.hpp