DPC++ Runtime
Runtime libraries for oneAPI DPC++
cl::sycl::detail::Sync Class Reference

Groups and provides access to all the locks used the SYCL runtime. More...

#include <CL/sycl/detail/util.hpp>

Static Public Member Functions

static std::mutex & getGlobalLock ()
 Retuns a reference to the global lock. More...
 

Detailed Description

Groups and provides access to all the locks used the SYCL runtime.

Definition at line 24 of file util.hpp.

Member Function Documentation

◆ getGlobalLock()

static std::mutex& cl::sycl::detail::Sync::getGlobalLock ( )
inlinestatic

Retuns a reference to the global lock.

The global lock is the default SYCL runtime lock guarding use of most SYCL runtime resources.

Definition at line 28 of file util.hpp.


The documentation for this class was generated from the following files: