ttg::device Namespace Reference

Namespaces

 detail
 

Classes

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

Functions

Device current_device ()
 
template<ttg::ExecutionSpace Space = ttg::ExecutionSpace::Invalid>
const void * current_stream ()
 
int num_devices ()
 

Variables

constexpr ttg::ExecutionSpace available_execution_space = ttg::ExecutionSpace::Invalid
 

Function Documentation

◆ current_device()

Device ttg::device::current_device ( )
inline

Definition at line 173 of file device.h.

◆ current_stream()

template<ttg::ExecutionSpace Space = ttg::ExecutionSpace::Invalid>
const void* ttg::device::current_stream ( )
inline

Definition at line 178 of file device.h.

◆ num_devices()

int ttg::device::num_devices ( )
inline

Definition at line 187 of file device.h.

Variable Documentation

◆ available_execution_space

constexpr ttg::ExecutionSpace ttg::device::available_execution_space = ttg::ExecutionSpace::Invalid
constexpr

Definition at line 19 of file device.h.