ttg 1.0.0
Template Task Graph (TTG): flowgraph-based programming model for high-performance distributed-memory algorithms
Loading...
Searching...
No Matches
Namespaces | Classes | Functions | Variables
ttg::device Namespace Reference

Namespaces

namespace  detail
 

Classes

class  Device
 Represents a device in a specific execution space. More...
 
struct  Stream
 

Functions

int num_devices ()
 
Device current_device ()
 
Stream current_stream ()
 

Variables

constexpr ttg::ExecutionSpace available_execution_space = ttg::ExecutionSpace::Host
 

Function Documentation

◆ current_device()

Device ttg::device::current_device ( )
inline

Definition at line 156 of file device.h.

Here is the caller graph for this function:

◆ current_stream()

Stream ttg::device::current_stream ( )
inline

Definition at line 161 of file device.h.

◆ num_devices()

int ttg::device::num_devices ( )
inline

Definition at line 165 of file device.h.

Here is the caller graph for this function:

Variable Documentation

◆ available_execution_space

constexpr ttg::ExecutionSpace ttg::device::available_execution_space = ttg::ExecutionSpace::Host
constexpr

Definition at line 133 of file device.h.