HAMR
The Heterogeneous Accelerator Memory Resource
hamr_buffer_transfer.h
Go to the documentation of this file.
1
#ifndef buffer_transfer_h
2
#define buffer_transfer_h
3
4
///@file
5
6
/// heterogeneous accelerator memory resource
7
namespace
hamr
8
{
9
10
/** flag used to indicate whether or not a transfer operation should be
11
* synchronous or not.
12
*/
13
enum class
buffer_transfer
14
{
15
async
= 0,
///< all operations are asynchronous
16
sync_cpu
= 1,
///< operations moving data from GPU to CPU memory are synchronous
17
sync
= 2
///< all operations are synchronous
18
};
19
20
}
21
22
#endif
hamr::buffer_transfer
buffer_transfer
Definition:
hamr_buffer_transfer.h:13
hamr::buffer_transfer::sync
@ sync
all operations are synchronous
hamr
heterogeneous accelerator memory resource
Definition:
hamr_buffer.h:40
hamr::buffer_transfer::sync_cpu
@ sync_cpu
operations moving data from GPU to CPU memory are synchronous
hamr::buffer_transfer::async
@ async
all operations are asynchronous
rtd_doxygen_fix
hamr_buffer_transfer.h
Generated on Fri Jun 16 2023 23:43:48 for HAMR by
1.8.17