cuda::experimental::stf::hw_scope#

enum class cuda::experimental::stf::hw_scope : unsigned int#

Describes the hardware scope for a given synchronization operation.

This enum class defines various hardware scopes like none, device, block, thread, and all, which are useful for specifying the level of granularity at which an operation should occur.

Note that we use powers of two so that it is easy to implement | or & operators.

Values:

enumerator none = 0#

No hardware scope.

enumerator thread = 1#

Thread-level scope.

enumerator block = 2#

Block-level scope.

enumerator device = 4#

Device-level scope.

enumerator all = 7#

All levels of hardware scope.