CUTLASS
CUDA Templates for Linear Algebra Subroutines and Solvers
Public Types | Public Member Functions | Public Attributes | List of all members
cutlass::reference::host::detail::TensorFillFunc< Element, Layout > Struct Template Reference

< Layout function

#include <tensor_fill.h>

Collaboration diagram for cutlass::reference::host::detail::TensorFillFunc< Element, Layout >:
Collaboration graph
[legend]

Public Types

using TensorView = TensorView< Element, Layout >
 

Public Member Functions

 TensorFillFunc (TensorView const &view_=TensorView(), Element value_=Element(0))
 
void operator() (Coord< Layout::kRank > const &coord) const
 

Public Attributes

TensorView view
 
Element value
 

Member Typedef Documentation

template<typename Element, typename Layout>
using cutlass::reference::host::detail::TensorFillFunc< Element, Layout >::TensorView = TensorView<Element, Layout>

Constructor & Destructor Documentation

template<typename Element, typename Layout>
cutlass::reference::host::detail::TensorFillFunc< Element, Layout >::TensorFillFunc ( TensorView const &  view_ = TensorView(),
Element  value_ = Element(0) 
)
inline

Member Function Documentation

template<typename Element, typename Layout>
void cutlass::reference::host::detail::TensorFillFunc< Element, Layout >::operator() ( Coord< Layout::kRank > const &  coord) const
inline

Member Data Documentation

template<typename Element, typename Layout>
Element cutlass::reference::host::detail::TensorFillFunc< Element, Layout >::value
template<typename Element, typename Layout>
TensorView cutlass::reference::host::detail::TensorFillFunc< Element, Layout >::view

The documentation for this struct was generated from the following file: