reference_softmax.hpp File Reference

reference_softmax.hpp File Reference#

Composable Kernel: reference_softmax.hpp File Reference
reference_softmax.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 InputType, typename ComputeType, typename OutputType = ComputeType>
CK_TILE_HOST void ck_tile::reference_softmax (const HostTensor< InputType > &x, HostTensor< OutputType > &y, index_t dim=-1)
template<typename InputType, typename ComputeType, typename OutputType = ComputeType>
CK_TILE_HOST auto ck_tile::reference_softmax (const HostTensor< InputType > &x, index_t dim=-1)