|use_mutex (mutex_class &mutexRef)
|Constructs a SYCL use_mutex property instance with a reference to mutexRef parameter provided. More...
|get_mutex_ptr () const
|Retrieve the mutex provided on construction. More...
The use_mutex property adds the requirement that the memory which is owned by the SYCL buffer 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.
Constructor & Destructor Documentation
Member Function Documentation
The documentation for this class was generated from the following file: