Evaluates predicate for any work-items in the work-group.

int work_group_any(int predicate)

Description

Evaluates predicate for all work-items in the work-group and returns a non-zero value if predicate evaluates to non-zero for any workitems in the work-group.

Also see

Specification