cl::sycl::property::image Namespace Reference
Typedefs | |
using | use_host_ptr = buffer::use_host_ptr |
The use_host_ptr property adds the requirement that the SYCL runtime must not allocate any memory for the image and instead uses the provided host pointer directly. More... | |
using | use_mutex = buffer::use_mutex |
The use_mutex property adds the requirement that the memory which is owned by the SYCL image can be shared with the application via a mutex_class provided to the property. More... | |
using | context_bound = buffer::context_bound |
The context_bound property adds the requirement that the SYCL image can only be associated with a single SYCL context that is provided to the property. More... | |
Typedef Documentation
◆ context_bound
using cl::sycl::property::image::context_bound = typedef buffer::context_bound |
◆ use_host_ptr
using cl::sycl::property::image::use_host_ptr = typedef buffer::use_host_ptr |
◆ use_mutex
using cl::sycl::property::image::use_mutex = typedef buffer::use_mutex |
The use_mutex property adds the requirement that the memory which is owned by the SYCL image can be shared with the application via a mutex_class provided to the property.
The mutex is locked by the runtime whenever the data is in use and unlocked otherwise. Data is synchronized with host data when the mutex is unlocked by the runtime.