/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck/library/utility/host_tensor.hpp File Reference

/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck/library/utility/host_tensor.hpp File Reference#

Composable Kernel: /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck/library/utility/host_tensor.hpp File Reference
host_tensor.hpp File Reference
#include <algorithm>
#include <cassert>
#include <iostream>
#include <fstream>
#include <numeric>
#include <random>
#include <thread>
#include <utility>
#include <vector>
#include "ck/utility/data_type.hpp"
#include "ck/utility/span.hpp"
#include "ck/utility/type_convert.hpp"
#include "ck/library/utility/algorithm.hpp"
#include "ck/library/utility/ranges.hpp"
#include "ck/library/utility/thread.hpp"
#include "ck/tensor_operation/gpu/device/tensor_layout.hpp"

Go to the source code of this file.

Classes

struct  ck::HostTensorDescriptor
 A descriptor class for host tensors that manages tensor dimensions, strides, and layout. More...
 
struct  ck::joinable_thread
 
struct  ck::ParallelTensorFunctor< F, Xs >
 
struct  ck::Tensor< T >
 

Namespaces

 ck
 

Functions

template<typename Range >
std::ostream & ck::LogRange (std::ostream &os, Range &&range, std::string delim)
 
template<typename T , typename Range >
std::ostream & ck::LogRangeAsType (std::ostream &os, Range &&range, std::string delim)
 
template<typename F , typename T , std::size_t... Is>
auto ck::call_f_unpack_args_impl (F f, T args, std::index_sequence< Is... >)
 
template<typename F , typename T >
auto ck::call_f_unpack_args (F f, T args)
 
template<typename F , typename T , std::size_t... Is>
auto ck::construct_f_unpack_args_impl (T args, std::index_sequence< Is... >)
 
template<typename F , typename T >
auto ck::construct_f_unpack_args (F, T args)
 
template<typename New2Old , typename NewLayout = HostTensorDescriptor::BaseTensorLayout>
HostTensorDescriptor ck::transpose_host_tensor_descriptor_given_new2old (const HostTensorDescriptor &a, const New2Old &new2old, const NewLayout &new_layout=NewLayout())
 
template<typename F , typename... Xs>
auto ck::make_ParallelTensorFunctor (F f, Xs... xs)