RaftLib[1] is a portable parallel processing system that aims to provide extreme performance while increasing programmer productivity. It enables a programmer to assemble a massively parallel program (both local and distributed) using simple iostream-like operators. RaftLib handles threading, memory allocation, memory placement, and auto-parallelization of compute kernels.[2] It enables applications to be constructed from chains of compute kernels forming a task and pipeline parallel compute graph. Programs are authored in C++ (although other language bindings are planned).
Original author(s) | Jonathan Beard |
---|---|
Initial release | late 2014 |
Stable release | 0.9 / January 2020 |
Preview release | 1.0a / May 18, 2020 |
Written in | C++ |
Operating system | Linux, macOS, Windows |
Type | Data analytics, HPC, Signal Processing, Machine Learning, Algorithms, Big Data |
License | Apache License 2.0 |
Website | www |
Example edit
Here is a Hello World example for demonstration purposes:[3]
#include <raft>#include <raftio>#include <cstdlib>#include <string>class hi : public raft::kernel{public: hi() : raft::kernel() { output.addPort< std::string >( "0" ); } virtual raft::kstatus run() { output[ "0" ].push( std::string( "Hello World\n" ) ); return( raft::stop ); }};intmain( int argc, char **argv ){ /** instantiate print kernel **/ raft::print< std::string > p; /** instantiate hello world kernel **/ hi hello; /** make a map object **/ raft::map m; /** add kernels to map, both hello and p are executed concurrently **/ m += hello >> p; /** execute the map **/ m.exe(); return( EXIT_SUCCESS );}
References edit
- ^ "RaftLib: A C++ Template Library for High Performance Stream Parallel Processing" (PDF). Retrieved 2016-08-10.
- ^ "Online Modeling and Tuning of Parallel Stream Processing Systems" (PDF). Retrieved 2016-08-10.
- ^ "Hello World Example". Retrieved 2016-08-10.
External links edit
🔥 Top keywords: Akademia e Shkencave e RPS te ShqiperiseAlexandria Ocasio-CortezBilderberg GroupCristiano RonaldoDong XiaowanMinecraftOperation GladioPrimal cutRiot FestStrictly Come Dancing (series 7)Main PageSpecial:SearchMichael Mosley (broadcaster)Carlos AlcarazAlexander ZverevWikipedia:Featured picturesChirag PaswanHit Man (2023 film)Union Council of Ministers2024 ICC Men's T20 World Cup2024 Indian general election2024 European Parliament electionCleopatraKinjarapu Ram Mohan NaiduDeaths in 2024Glen PowellProject 2025Nirmala SitharamanPawan KalyanBad Boys: Ride or DieICC Men's T20 World CupAdria ArjonaNarendra ModiIga ŚwiątekRamoji RaoS. JaishankarAlan HansenJack NicklausList of prime ministers of India.xxxYouTubeRam Vilas PaswanUFC on ESPN: Cannonier vs. ImavovSabrina CarpenterUEFA Euro 2024The Acolyte (TV series)Barry KeoghanChristopher ReeveAnnpurna Devi