ttg 1.0.0-alpha
Overview
User Guide
Programmer Guides
Source Reference
Modules
Namespace List
Class List
ttg
ttg
devicescratch.h
Go to the documentation of this file.
1
#ifndef TTG_DEVICESCRATCH_H
2
#define TTG_DEVICESCRATCH_H
3
4
#include "
ttg/devicescope.h
"
5
#include "
ttg/fwd.h
"
6
7
namespace
ttg
{
8
9
template
<
typename
T>
10
using
devicescratch
= TTG_IMPL_NS::devicescratch<T>;
11
12
template
<
typename
T>
13
auto
make_scratch
(T* val,
ttg::scope
scope
, std::size_t count = 1) {
14
return
devicescratch<T>
(val,
scope
, count);
15
}
16
17
}
// namespace ttg
18
19
#endif
// TTG_DEVICESCRATCH_H
devicescope.h
fwd.h
ttg
top-level TTG namespace contains runtime-neutral functionality
Definition:
keymap.h:8
ttg::scope
scope
Definition:
devicescope.h:5
ttg::make_scratch
auto make_scratch(T *val, ttg::scope scope, std::size_t count=1)
Definition:
devicescratch.h:13
ttg_parsec::devicescratch
Definition:
devicescratch.h:29
Generated at Wed Nov 20 2024 15:04:55 for
ttg
1.0.0-alpha by
1.9.1