reference_elementwise.hpp File Reference

reference_elementwise.hpp File Reference#

Composable Kernel: reference_elementwise.hpp File Reference
reference_elementwise.hpp File Reference
#include "ck_tile/core.hpp"
#include "ck_tile/host/host_tensor.hpp"
#include <thread>

Go to the source code of this file.

Namespaces

namespace  ck_tile

Functions

template<typename ADataType, typename BDataType, typename ComputeDataType, typename ElementOp>
CK_TILE_HOST void ck_tile::reference_unary_elementwise (const HostTensor< ADataType > &a, HostTensor< BDataType > &b, ElementOp element_op)
template<typename ADataType, typename BDataType, typename CDataType, typename ComputeDataType, typename ElementOp>
CK_TILE_HOST void ck_tile::reference_binary_elementwise (const HostTensor< ADataType > &a, const HostTensor< BDataType > &b, HostTensor< CDataType > &c, ElementOp element_op)