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

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

#include <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 25 of file util.hpp.

Member Function Documentation

◆ getGlobalLock()

static std::mutex& sycl::_V1::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 29 of file util.hpp.


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