ttg 1.0.0
Template Task Graph (TTG): flowgraph-based programming model for high-performance distributed-memory algorithms
Loading...
Searching...
No Matches
devicescope.h
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-3-Clause
2#ifndef TTG_DEVICESCOPE_H
3#define TTG_DEVICESCOPE_H
4
5namespace ttg {
6 enum class scope {
7 Allocate = 0x0, //< memory allocated as scratch, but not moved in or out
8 SyncIn = 0x2, //< memory allocated as scratch and data transferred to device
9 Invalid = 0xF, //< invalid scope
10 };
11} // namespace ttg
12
13#endif // TTG_DEVICESCOPE_H
top-level TTG namespace contains runtime-neutral functionality
Definition keymap.h:9
@ Invalid
not a coroutine, i.e. a standard task function, -> void