device.h File Reference
#include "ttg/config.h"
#include "ttg/execution.h"
#include "ttg/impl_selector.h"
#include "ttg/fwd.h"
Classes | |
class | ttg::device::Device |
Represents a device in a specific execution space. More... | |
Namespaces | |
ttg | |
top-level TTG namespace contains runtime-neutral functionality | |
ttg::device | |
Functions | |
std::ostream & | std::operator<< (std::ostream &os, ttg::device::Device device) |
Device | ttg::device::current_device () |
template<ttg::ExecutionSpace Space = ttg::ExecutionSpace::Invalid> | |
const void * | ttg::device::current_stream () |
int | ttg::device::num_devices () |
Variables | |
constexpr ttg::ExecutionSpace | ttg::device::available_execution_space = ttg::ExecutionSpace::Invalid |
Function Documentation
◆ operator<<()
|
inline |
- Examples
- iterative.cc, and reducing.cc.