XT-neighbor
Public Member Functions | List of all members
GPUInputStream< T > Class Template Reference

A stream where the data is already fit inside the GPU memory, so chunking is basically just shift the pointer around. More...

Public Member Functions

 GPUInputStream (T *data, int len, int chunkSize)
 
Chunk< T > read ()
 
size_t get_total_len ()
 

Detailed Description

template<typename T>
class GPUInputStream< T >

A stream where the data is already fit inside the GPU memory, so chunking is basically just shift the pointer around.

Constructor & Destructor Documentation

◆ GPUInputStream()

template<typename T >
GPUInputStream< T >::GPUInputStream ( T *  data,
int  len,
int  chunkSize 
)
inline

Member Function Documentation

◆ get_total_len()

template<typename T >
size_t GPUInputStream< T >::get_total_len ( )
inline

◆ read()

template<typename T >
Chunk<T> GPUInputStream< T >::read ( )
inline

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