Inheritance diagram for Fn:
ttg_parsec::TTValue< Fn > ttg_parsec::detail::ttg_data_copy_container_setter< ttg_parsec::detail::ttg_data_copy_t > ttg_parsec::detail::ttg_data_copy_t ttg_parsec::detail::ttg_data_copy_self_t

Documentation

N.B. contains values of F_n and F_{n-1}.

Definition at line 5 of file fibonacci.cc.

Public Member Functions

 Fn ()
 
template<typename Archive >
void serialize (Archive &ar)
 
template<typename Archive >
void serialize (Archive &ar, const unsigned int)
 
 Fn ()
 
 Fn (const Fn &)=delete
 
 Fn (Fn &&other)=default
 
Fnoperator= (const Fn &other)=delete
 
Fnoperator= (Fn &&other)=default
 
template<typename Archive >
void serialize (Archive &ar)
 
template<typename Archive >
void serialize (Archive &ar, const unsigned int)
 
- Public Member Functions inherited from ttg_parsec::TTValue< Fn >
 TTValue ()
 
 TTValue (const TTValue &v)
 
 TTValue (TTValue &&v)
 
virtual ~TTValue ()=default
 
TTValueoperator= (const TTValue &v)
 
TTValueoperator= (TTValue &&v)
 
virtual void * get_ptr () override final
 
derived_typeget_derived ()
 
const derived_typeget_derived () const
 
- Public Member Functions inherited from ttg_parsec::detail::ttg_data_copy_t
 ttg_data_copy_t ()
 
 ttg_data_copy_t (const ttg_data_copy_t &c)
 
 ttg_data_copy_t (ttg_data_copy_t &&c)
 
ttg_data_copy_toperator= (ttg_data_copy_t &&c)
 
ttg_data_copy_toperator= (const ttg_data_copy_t &c)
 
virtual ~ttg_data_copy_t ()=default
 
bool is_mutable () const
 
void mark_mutable ()
 
template<bool Atomic = true>
int increment_readers ()
 
void reset_readers ()
 
template<bool Atomic = true>
int decrement_readers ()
 
int num_readers () const
 
parsec_task_t * get_next_task () const
 
void set_next_task (parsec_task_t *task)
 
int32_t add_ref ()
 
int32_t drop_ref ()
 
bool has_ref ()
 
int32_t num_ref () const
 
void inc_current_version ()
 
void transfer_ownership (int access, int device=0)
 
void add_device_data (ttg_parsec_data_wrapper_t *data)
 
void remove_device_data (ttg_parsec_data_wrapper_t *data)
 
int num_dev_data () const
 
template<typename Fn >
void foreach_wrapper (Fn &&fn)
 
template<typename Fn >
void foreach_parsec_data (Fn &&fn)
 
iovec_iterator iovec_begin ()
 
iovec_iterator iovec_end ()
 
void iovec_reset ()
 
void iovec_add (const ttg::iovec &iov)
 
ttg::span< ttg::ioveciovec_span ()
 
std::size_t iovec_count () const
 
- Public Member Functions inherited from ttg_parsec::detail::ttg_data_copy_self_t
 ttg_data_copy_self_t (ttg_data_copy_t *dc)
 

Public Attributes

int64_t F [2]
 
std::unique_ptr< int64_t[]> F
 
ttg::Buffer< int64_t > b
 
- Public Attributes inherited from ttg_parsec::detail::ttg_data_copy_self_t
parsec_list_item_t super
 
ttg_data_copy_tself
 

Additional Inherited Members

- Public Types inherited from ttg_parsec::TTValue< Fn >
using derived_type = std::decay_t< Fn >
 
- Public Types inherited from ttg_parsec::detail::ttg_data_copy_t
using iterator = ttg_parsec_data_wrapper_t **
 
using iovec_iterator = typename std::vector< ttg::iovec >::iterator
 
- Static Public Attributes inherited from ttg_parsec::detail::ttg_data_copy_t
static constexpr int mutable_tag = std::numeric_limits<int>::min()
 
- Protected Attributes inherited from ttg_parsec::detail::ttg_data_copy_t
parsec_task_t * m_next_task = nullptr
 
int32_t m_readers = 1
 
std::atomic< int32_t > m_refs = 1
 
std::vector< ttg::iovecm_iovecs
 
std::vector< ttg_parsec_data_wrapper_t * > m_dev_data
 
ttg_parsec_data_wrapper_tm_single_dev_data
 
int m_num_dev_data = 0
 

Constructor & Destructor Documentation

◆ Fn() [1/4]

Fn::Fn ( )
inline

Definition at line 7 of file fibonacci.cc.

◆ Fn() [2/4]

Fn::Fn ( )
inline

Definition at line 19 of file fibonacci_device.cc.

◆ Fn() [3/4]

Fn::Fn ( const Fn )
delete

◆ Fn() [4/4]

Fn::Fn ( Fn &&  other)
default

Member Function Documentation

◆ operator=() [1/2]

Fn& Fn::operator= ( const Fn other)
delete

◆ operator=() [2/2]

Fn& Fn::operator= ( Fn &&  other)
default

◆ serialize() [1/4]

template<typename Archive >
void Fn::serialize ( Archive &  ar)
inline

Definition at line 9 of file fibonacci.cc.

◆ serialize() [2/4]

template<typename Archive >
void Fn::serialize ( Archive &  ar)
inline

Definition at line 27 of file fibonacci_device.cc.

◆ serialize() [3/4]

template<typename Archive >
void Fn::serialize ( Archive &  ar,
const unsigned int   
)
inline

Definition at line 13 of file fibonacci.cc.

◆ serialize() [4/4]

template<typename Archive >
void Fn::serialize ( Archive &  ar,
const unsigned int   
)
inline

Definition at line 31 of file fibonacci_device.cc.

Member Data Documentation

◆ b

ttg::Buffer<int64_t> Fn::b

Definition at line 17 of file fibonacci_device.cc.

◆ F [1/2]

int64_t Fn::F[2]

Definition at line 6 of file fibonacci.cc.

◆ F [2/2]

std::unique_ptr<int64_t[]> Fn::F

Definition at line 16 of file fibonacci_device.cc.


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