|
ttg 1.0.0-alpha
Template Task Graph (TTG): flowgraph-based programming model for high-performance distributed-memory algorithms
|
#include <devicescratch.h>
Public Types | |
| using | element_type = std::decay_t< T > |
Public Member Functions | |
| devicescratch (element_type *ptr, ttg::scope scope=ttg::scope::SyncIn, std::size_t count=1) | |
| devicescratch (devicescratch &&)=delete | |
| devicescratch (const devicescratch &db)=delete | |
| devicescratch & | operator= (devicescratch &&)=delete |
| devicescratch & | operator= (const devicescratch &db)=delete |
| ~devicescratch () | |
| element_type * | device_ptr () |
| const element_type * | device_ptr () const |
| bool | is_valid () const |
| ttg::scope | scope () const |
| std::size_t | size () const |
Friends | |
| parsec_data_t * | detail::get_parsec_data (const ttg_parsec::devicescratch< T > &) |
Scratch-space for task-local variables. TTG will allocate memory on the device and transfer data in and out based on the scope.
Definition at line 29 of file devicescratch.h.
| using ttg_parsec::devicescratch< T >::element_type = std::decay_t<T> |
Definition at line 31 of file devicescratch.h.
|
inline |
|
delete |
|
delete |
|
inline |
Definition at line 82 of file devicescratch.h.
|
inline |
|
inline |
|
inline |
|
delete |
|
delete |
|
inline |
|
inline |
Definition at line 112 of file devicescratch.h.
|
friend |
1.9.8