access_type Enumeration
Enumeration type used to denote the various types of access to data.
enum access_type;
Members
Values
Name |
Description |
---|---|
access_type_auto |
Automatically choose the best access_type for the accelerator. |
access_type_none |
Dedicated. The allocation is only accessible on the accelerator and not on the CPU. |
access_type_read |
Shared. The allocation is accessible on the accelerator and is readable on the CPU. |
access_type_read_write |
Shared. The allocation is accessible on the accelerator and is writable on the CPU. |
access_type_write |
Shared. The allocation is accessible on the accelerator and is both readable and writable on the CPU. |
Requirements
Header: amprt.h
Namespace: concurrency