/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck_tile/host/reference/reference_pool.hpp File Reference

/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck_tile/host/reference/reference_pool.hpp File Reference#

Composable Kernel: /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck_tile/host/reference/reference_pool.hpp File Reference
reference_pool.hpp File Reference
#include "ck_tile/core.hpp"
#include "ck_tile/host/host_tensor.hpp"
#include "ck_tile/ops/pooling/kernel/pool_kernel.hpp"
#include <thread>
#include <cmath>

Go to the source code of this file.

Namespaces

 ck_tile
 

Functions

template<typename InDataType , typename ComputeDataType , typename OutDataType , typename IndexDataType , typename ReduceOp , typename TensorShape , typename WindowShape , bool OutputIndex = false>
CK_TILE_HOST void ck_tile::reference_pool2d (const HostTensor< InDataType > &input, HostTensor< OutDataType > &output, HostTensor< IndexDataType > &output_index, PoolKernelArgs< TensorShape, WindowShape > kargs, ReduceOp reduce_op)
 
template<typename InDataType , typename ComputeDataType , typename OutDataType , typename IndexDataType , typename ReduceOp , typename TensorShape , typename WindowShape , bool OutputIndex = false>
CK_TILE_HOST void ck_tile::reference_pool3d (const HostTensor< InDataType > &input, HostTensor< OutDataType > &output, HostTensor< IndexDataType > &output_index, PoolKernelArgs< TensorShape, WindowShape > kargs, ReduceOp reduce_op)