You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Various SPIR-V subgroup operations return a boolean value, whereas the
equivalent OpenCL builtins return a zero or non-zero integer value.
Until now, the SPIR-V to OpenCL conversion would yield a truncate to
convert from integer to boolean, which is incorrect because any
non-zero integer value should be treated as a "true" value. Use a
compare for the conversion instead.
Also rename the helper function to reflect better what it does and add
some comments.
0 commit comments