42 typename Transformer_ = Copy<typename Iterator_::Fragment> >
CUTLASS_DEVICE void copy(FetchedFragment &fetched)
Load the data from shared memory to the fetch fragment.
Definition: gemm_shared_stream.h:89
CUTLASS_DEVICE void shared_iterator_load(InputIterator &iterator, Fragment &fragment)
Loads a fragment from a shared memory input iterator.
Definition: iterator_access.h:75
CUTLASS_DEVICE void initialize(Params const ¶ms, SharedStorage &shared_storage)
Initialize the stream.
Definition: gemm_shared_stream.h:81
Iterator::Storage SharedStorage
The storage in shared memory needed by that stream.
Definition: gemm_shared_stream.h:70
CUTLASS_DEVICE void commit(FetchedFragment &fetched, TransformedFragment &transformed)
Commit the data.
Definition: gemm_shared_stream.h:97
CUTLASS_DEVICE void inc_stage()
Increment the stage.
Definition: gemm_shared_stream.h:102
CUTLASS_DEVICE SharedLoadStream()
Ctor.
Definition: gemm_shared_stream.h:73
Defines iterators for efficiently loading and storing tiles to and from shared memory.
Definition: gemm_shared_stream.h:44
Transformer transformer
The transformer.
Definition: gemm_shared_stream.h:107
TransformedFragment Fragment
Make sure the fragments match.
Definition: gemm_shared_stream.h:56
#define CUTLASS_HOST_DEVICE
Definition: cutlass.h:46
CUTLASS_DEVICE void copy(int d, FetchedFragment &fetched)
Load the data from shared memory to the fetch fragment.
Definition: gemm_shared_stream.h:92
Iterator::Params iterator
The iterator params.
Definition: gemm_shared_stream.h:63
Iterator iterator
The iterator.
Definition: gemm_shared_stream.h:105
CUTLASS_HOST_DEVICE int initialize()
Setup the params.
Definition: gemm_shared_stream.h:66
Transformer::OutputFragment TransformedFragment
The fragment that is obtained after the transformation by the transformer.
Definition: gemm_shared_stream.h:53
The params.
Definition: gemm_shared_stream.h:61
Iterator::Fragment FetchedFragment
The fragment that is copied from shared memory.
Definition: gemm_shared_stream.h:51
Transformer_ Transformer
The transformer.
Definition: gemm_shared_stream.h:48
Iterator_ Iterator
The load iterator.
Definition: gemm_shared_stream.h:46
CUTLASS_DEVICE SharedLoadStream(Params const ¶ms, SharedStorage &shared_storage)
Ctor.
Definition: gemm_shared_stream.h:76