cuda::experimental::stf::operator&#
- inline hw_scope cuda::experimental::stf::operator&( )#
Bitwise AND operator for combining two
hw_scopevalues.This function performs bitwise AND on the underlying types of two
hw_scopevalues. It’s useful for checking if a scope if included into anotherhw_scopevalue.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.