Cheetah - SKA - PSS - Prototype Time Domain Search Pipeline
Public Types | Public Member Functions | List of all members
ska::cheetah::data::Series< Arch, ValueT, Alloc > Class Template Reference

Base class for generic data series. More...

#include <cheetah/data/Series.h>

Inheritance diagram for ska::cheetah::data::Series< Arch, ValueT, Alloc >:
Inheritance graph
Collaboration diagram for ska::cheetah::data::Series< Arch, ValueT, Alloc >:
Collaboration graph

Public Types

typedef DeviceMemoryType::Iterator Iterator
 
typedef DeviceMemoryType::ConstIterator ConstIterator
 
typedef Alloc Allocator
 
typedef Arch Architecture
 
typedef ValueT ValueType
 

Public Member Functions

 Series (Allocator const &)
 
 Series (std::size_t size, Allocator const &)
 
 Series (Series const &copy)
 
 Series (Series &&copy_to_move)
 
template<typename OtherArch , typename OtherAlloc >
 Series (Series< OtherArch, ValueType, OtherAlloc > const &copy, Alloc const &allocator)
 copies Series data to the device
 
ConstIterator begin () const
 Iterators to device memory. More...
 
Iterator begin ()
 
Iterator end ()
 
ConstIterator end () const
 
ConstIterator cbegin () const
 
ConstIterator cend () const
 
std::size_t size () const
 the size of the series
 
void resize (std::size_t size)
 resize the data
 
template<typename OtherArch , typename OtherAlloc >
 Series (Series< OtherArch, ValueT, OtherAlloc > const &copy)
 

Detailed Description

template<typename Arch, typename ValueT, typename Alloc = panda::DeviceAllocator<ValueT, Arch>>
class ska::cheetah::data::Series< Arch, ValueT, Alloc >

Base class for generic data series.

A data series class for storage of arbitrary data.

Definition at line 44 of file Series.h.

Member Function Documentation

◆ begin()

template<typename Arch , typename ValueT , typename Alloc >
Series< Arch, ValueT, Alloc >::ConstIterator ska::cheetah::data::Series< Arch, ValueT, Alloc >::begin ( ) const
inline

Iterators to device memory.

note that this memory is not directly accesible to the host to use on the host convert to Series<Cpu, ValueType> which will copy the data to the host

Definition at line 67 of file Series.cpp.

68 {
69  return _data.begin();
70 }

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