cuda::experimental::stf::operator&
#
- inline hw_scope cuda::experimental::stf::operator&( )#
Bitwise AND operator for combining two
hw_scope
values.This function performs bitwise AND on the underlying types of two
hw_scope
values. It’s useful for checking if a scope if included into anotherhw_scope
value.Note
The function includes assertions to ensure that lhs and rhs are within the allowed range.
- Parameters:
lhs – The left-hand side hw_scope.
rhs – The right-hand side hw_scope.
- Returns:
A new hw_scope that is the bitwise AND of lhs and rhs.