HMLP: High-performance Machine Learning Primitives
hmlp::ReadWrite Class Reference

This class provides the ability to perform dependency analysis. More...

#include <runtime.hpp>

Inheritance diagram for hmlp::ReadWrite:
hmlp::Data< pair< T, size_t > > hmlp::Data< pair< T, size_t >, std::allocator< pair< T, size_t > > > hmlp::Data< size_t > hmlp::Data< T > hmlp::Data< T, std::allocator< T > > hmlp::Data< TP, std::allocator< TP > > hmlp::Data< T, Allocator > hmlp::DistKernelMatrix< T, TP, Allocator > hmlp::KernelMatrix< T, Allocator > hmlp::OOCData< T, Allocator > hmlp::SparseData< T, Allocator > hmlp::tree::Node< SETUP, NODEDATA > hmlp::View< T > hmlp::OOCData< T >

Public Member Functions

 ReadWrite ()
 
void DependencyAnalysis (ReadWriteType type, Task *task)
 This is the key function that encode the dependency. More...
 
void DependencyCleanUp ()
 

Public Attributes

deque< Task * > read
 
deque< Task * > write
 

Detailed Description

This class provides the ability to perform dependency analysis.

end RecuDistTaskExecute() class ReadWrite

Constructor & Destructor Documentation

hmlp::ReadWrite::ReadWrite ( )

(Default) ReadWrite constructor.

Member Function Documentation

void hmlp::ReadWrite::DependencyAnalysis ( ReadWriteType  type,
Task task 
)

This is the key function that encode the dependency.

end DependencyCleanUp()

Update the read set.

Read-After-Write (RAW) data dependencies.

Write-After-Read (WAR) anti-dependencies.

Clean up both read and write sets.

Update the write set.

void hmlp::ReadWrite::DependencyCleanUp ( )

Clean both read and write sets.

Member Data Documentation

deque<Task*> hmlp::ReadWrite::read

Tracking the read set of the object.

deque<Task*> hmlp::ReadWrite::write

Tracking the write set of the object.


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