cl::sycl::codeplay::property::buffer::host_access Class Reference
The host_access property determines if and how device data can be accessed from the host. More...
#include <host_access.h>
Public Member Functions | |
host_access (host_access_mode hostAccessMode) noexcept | |
Constructs a property object using the specified access mode. More... | |
host_access_mode | get_host_access_mode () const |
Retrieves the access mode as provided on construction. More... | |
Detailed Description
The host_access property determines if and how device data can be accessed from the host.
Definition at line 41 of file host_access.h.
Constructor & Destructor Documentation
◆ host_access()
|
inlinenoexcept |
Constructs a property object using the specified access mode.
- Parameters
-
hostAccessMode Mode specifying if and how device data can be accessed from the host
Definition at line 47 of file host_access.h.
Member Function Documentation
◆ get_host_access_mode()
|
inline |
Retrieves the access mode as provided on construction.
- Returns
- Host access mode
Definition at line 54 of file host_access.h.
The documentation for this class was generated from the following file: