syclreference.com
  1. SYCL
  2. | API Reference
  3. | Buffers
  4. | use_mutex
  5. | use_mutex

use_mutex

Constructs a SYCL use_mutex property instance with a reference to mutexRef parameter provided.


use_mutex(cl::sycl::mutex_class & mutexRef)
(1)
  1. Constructs a SYCL use_mutex property instance with a reference to mutexRef parameter provided.
    Parameters:
    • cl::sycl::mutex_class & mutexRef : Mutex to be associated with the property and the buffer.

syclreference.com — SYCL Reference Pages

Last updated: 2019-01-24 00:24:52 +0000