class AtomicScopeHIPModel

Declaration

class AtomicScopeHIPModel : public AtomicScopeModel { /* full declaration omitted */ };

Description

Defines the synch scope model for HIP.

Declared at: clang/include/clang/Basic/SyncScope.h:157

Inherits from: AtomicScopeModel

Method Overview

Inherited from AtomicScopeModel:

Methods

AtomicScopeHIPModel()

Declared at: clang/include/clang/Basic/SyncScope.h:171

unsigned int getFallBackValue() const

Description

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.

Declared at: clang/include/clang/Basic/SyncScope.h:203

ArrayRef<unsigned int> getRuntimeValues() const

Description

Get all possible synch scope values that might be encountered at runtime for the current language.

Declared at: clang/include/clang/Basic/SyncScope.h:194

bool isValid(unsigned int S) const

Description

Check if the compile-time constant synch scope value is valid.

Declared at: clang/include/clang/Basic/SyncScope.h:189

Parameters

unsigned int S

clang::SyncScope map(unsigned int S) const

Description

Maps language specific synch scope values to internal SyncScope enum.

Declared at: clang/include/clang/Basic/SyncScope.h:173

Parameters

unsigned int S