•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Search Results
ttg_madness Namespace Reference
this contains MADNESS-based TTG functionality More...
Namespaces | |
detail | |
Classes | |
struct Buffer | |
A runtime-managed buffer mirrored between host and device memory. More... | |
class TT | |
struct Ptr | |
struct devicescratch | |
struct TTValue | |
class WorldImpl | |
Typedefs | |
template<typename keyT , typename output_terminalsT , typename derivedT , typename... input_valueTs> | |
using Op = TT< keyT, output_terminalsT, derivedT, ttg::typelist< input_valueTs... > > | |
template<typename keyT , typename output_terminalsT , typename derivedT , typename... input_valueTs> | |
using TemplateTask = TT< keyT, output_terminalsT, derivedT, ttg::typelist< input_valueTs... > > | |
Functions | |
int num_devices () | |
template<typename T , typename A > | |
auto buffer_data (const Buffer< T, A > &buffer) | |
template<typename... Views> | |
bool register_device_memory (std::tuple< Views &... > &views) | |
template<typename T , std::size_t N> | |
bool register_device_memory (const ttg::span< T, N > &span) | |
void make_executable_hook (ttg::World &) | |
void ttg_initialize (int argc, char **argv, int num_threads=-1) | |
void ttg_finalize () | |
void ttg_abort () | |
ttg::World ttg_default_execution_context () | |
void ttg_execute (ttg::World world) | |
void ttg_fence (ttg::World world) | |
template<typename T > | |
void ttg_register_ptr (ttg::World world, const std::shared_ptr< T > &ptr) | |
void ttg_register_status (ttg::World world, const std::shared_ptr< std::promise< void >> &status_ptr) | |
ttg::Edge & ttg_ctl_edge (ttg::World world) | |
template<typename T > | |
void ttg_sum (ttg::World world, T &value) | |
template<typename T > | |
void ttg_broadcast (ttg::World world, T &data, int source_rank) | |
template<typename T , typename... Args> | |
Ptr< T > make_ptr (Args &&... args) | |
template<typename T > | |
auto get_ptr (T &&obj) | |
template<typename... Buffer> | |
void post_device_out (std::tuple< Buffer &... > &b) | |
template<typename... Buffer> | |
void mark_device_out (std::tuple< Buffer &... > &b) | |
template<typename T > | |
void ttg_register_ptr (ttg::World world, std::unique_ptr< T > &&ptr) | |
template<typename Callback > | |
void ttg_register_callback (ttg::World world, Callback &&callback) | |
template<typename ValueT > | |
auto persistent (ValueT &&value) | |
void initialize_watchpoints () | |
must be called from main thread before setting watchpoints More... | |
template<typename T > | |
void watchpoint_set (T *addr, ttg::detail::MemoryWatchpoint_x86_64::Size size, ttg::detail::MemoryWatchpoint_x86_64::Condition cond) | |
sets a hardware watchpoint for window [addr,addr+size) and condition cond More... | |
template<typename T > | |
void watchpoint_clear (T *addr) | |
clears the hardware watchpoint for window [addr,addr+size) previously created with watchpoint_set<T> More... | |
Typedef Documentation
◆ Op
template<typename keyT , typename output_terminalsT , typename derivedT , typename... input_valueTs>
using ttg_madness::Op = typedef TT<keyT, output_terminalsT, derivedT, ttg::typelist<input_valueTs...> > |
◆ TemplateTask
template<typename keyT , typename output_terminalsT , typename derivedT , typename... input_valueTs>
using ttg_madness::TemplateTask = typedef TT<keyT, output_terminalsT, derivedT, ttg::typelist<input_valueTs...> > |
Function Documentation
◆ buffer_data()
template<typename T , typename A >
auto ttg_madness::buffer_data | ( | const Buffer< T, A > & | buffer | ) |
Definition at line 11 of file devicefunc.h.
◆ get_ptr()
template<typename T >
auto ttg_madness::get_ptr | ( | T && | obj | ) |
◆ initialize_watchpoints()
|
inline |
◆ make_executable_hook()
|
inline |
◆ make_ptr()
template<typename T , typename... Args>
Ptr<T> ttg_madness::make_ptr | ( | Args &&... | args | ) |
◆ mark_device_out()
template<typename... Buffer>
|
inline |
◆ num_devices()
◆ persistent()
template<typename ValueT >
|
inline |
◆ post_device_out()
template<typename... Buffer>
|
inline |
◆ register_device_memory() [1/2]
template<typename T , std::size_t N>
|
inline |
Definition at line 24 of file devicefunc.h.
◆ register_device_memory() [2/2]
template<typename... Views>
|
inline |
Definition at line 17 of file devicefunc.h.
◆ ttg_abort()
◆ ttg_broadcast()
template<typename T >
|
inline |
◆ ttg_ctl_edge()
|
inline |
◆ ttg_default_execution_context()
|
inline |
- Examples
- distributed.cc.
◆ ttg_execute()
|
inline |
◆ ttg_fence()
|
inline |
◆ ttg_finalize()
◆ ttg_initialize()
|
inline |
◆ ttg_register_callback()
template<typename Callback >
|
inline |
◆ ttg_register_ptr() [1/2]
template<typename T >
|
inline |
◆ ttg_register_ptr() [2/2]
template<typename T >
|
inline |
◆ ttg_register_status()
|
inline |
◆ ttg_sum()
template<typename T >
|
inline |
◆ watchpoint_clear()
template<typename T >
|
inline |
◆ watchpoint_set()
template<typename T >
|
inline |