ttg::device Namespace Reference

Namespaces

 detail
 

Classes

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

Functions

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

Variables

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

Function Documentation

◆ current_device()

Device ttg::device::current_device ( )
inline

Definition at line 131 of file device.h.

◆ current_stream()

Stream ttg::device::current_stream ( )
inline

Definition at line 136 of file device.h.

◆ num_devices()

int ttg::device::num_devices ( )
inline

Definition at line 140 of file device.h.

Variable Documentation

◆ available_execution_space

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

Definition at line 108 of file device.h.