A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://clang.llvm.org/doxygen/classclang_1_1AtomicScopeOpenCLModel.html below:

clang: clang::AtomicScopeOpenCLModel Class Reference

Defines the synch scope model for OpenCL. More...

#include "clang/Basic/SyncScope.h"

  AtomicScopeOpenCLModel ()   SyncScope  map (unsigned S) const override   Maps language specific synch scope values to internal SyncScope enum.
  bool  isValid (unsigned S) const override   Check if the compile-time constant synch scope value is valid.
  ArrayRef< unsignedgetRuntimeValues () const override   Get all possible synch scope values that might be encountered at runtime for the current language.
  unsigned  getFallBackValue () const override   If atomic builtin function is called with invalid synch scope value at runtime, it will fall back to a valid synch scope value returned by this function.
  virtual  ~AtomicScopeModel ()   virtual SyncScope  map (unsigned S) const =0   Maps language specific synch scope values to internal SyncScope enum.
  virtual bool  isValid (unsigned S) const =0   Check if the compile-time constant synch scope value is valid.
  virtual ArrayRef< unsignedgetRuntimeValues () const =0   Get all possible synch scope values that might be encountered at runtime for the current language.
  virtual unsigned  getFallBackValue () const =0   If atomic builtin function is called with invalid synch scope value at runtime, it will fall back to a valid synch scope value returned by this function.
 

Defines the synch scope model for OpenCL.

Definition at line 124 of file SyncScope.h.

◆ ID

The enum values match the pre-defined macros __OPENCL_MEMORY_SCOPE_*, which are used to define memory_scope_* enums in opencl-c-base.h.

Enumerator WorkGroup  Device  AllSVMDevices  SubGroup  Last 

Definition at line 129 of file SyncScope.h.

◆ AtomicScopeOpenCLModel() clang::AtomicScopeOpenCLModel::AtomicScopeOpenCLModel ( ) inline

Definition at line 137 of file SyncScope.h.

◆ getFallBackValue() unsigned clang::AtomicScopeOpenCLModel::getFallBackValue ( ) const inlineoverridevirtual

If atomic builtin function is called with invalid synch scope value at runtime, it will fall back to a valid synch scope value returned by this function.

Implements clang::AtomicScopeModel.

Definition at line 166 of file SyncScope.h.

References AllSVMDevices.

◆ getRuntimeValues() ◆ isValid() bool clang::AtomicScopeOpenCLModel::isValid ( unsigned  S ) const inlineoverridevirtual ◆ map()

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4