cuda::experimental::stf::hw_scope
Defined in include/cuda/experimental/__stf/internal/execution_policy.cuh
-
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 likenone
,device
,block
,thread
, andall
, 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
No hardware scope.
-
enumerator thread
Thread-level scope.
-
enumerator block
Block-level scope.
-
enumerator device
Device-level scope.
-
enumerator all
All levels of hardware scope.
-
enumerator none