cl::sycl::property::buffer::context_bound Class Reference
The context_bound property adds the requirement that the SYCL buffer can only be associated with a single SYCL context that is provided to the property. More...
#include <buffer.h>
Public Member Functions | |
context_bound (const context &boundContext) | |
Constructs a SYCL context_bound property instance with a copy of a SYCL context. More... | |
context | get_context () const |
Retrieves the context provided on construction. More... | |
Detailed Description
The context_bound property adds the requirement that the SYCL buffer can only be associated with a single SYCL context that is provided to the property.
Constructor & Destructor Documentation
◆ context_bound()
|
inline |
Constructs a SYCL context_bound property instance with a copy of a SYCL context.
- Parameters
-
boundContext Context to be bound to the buffer.
Member Function Documentation
◆ get_context()
|
inline |
The documentation for this class was generated from the following file: