src
HeterogeneousCore
AlpakaInterface
interface
TransferToHost.h
Go to the documentation of this file.
1
#ifndef HeterogeneousCore_AlpakaInterface_interface_TransferToHost_h
2
#define HeterogeneousCore_AlpakaInterface_interface_TransferToHost_h
3
4
// TODO: better package?
5
6
namespace
cms::alpakatools
{
7
// TODO: would a more informative error message from compiler than "indeterminate type" be helpful?
8
template
<
typename
TDeviceData>
9
struct
TransferToHost
;
10
11
// specialization expected to define
12
// using HostDataType = <corresponding host data type>
13
//
14
// template <typename TQueue>
15
// static HostDataType transferAsync(TQueue& queue, TDeviceData const& deviceData);
16
//
17
// The function should allocate a HostDataType object and launch the
18
// transfers
19
}
// namespace cms::alpakatools
20
21
#endif
cms::alpakatools
Definition:
PortableCollection.h:43
cms::alpakatools::TransferToHost
Definition:
TransferToHost.h:9
Generated for CMSSW Reference Manual by
1.8.14