diff options
author | Billy Laws <[email protected]> | 2023-01-05 19:10:35 +0000 |
---|---|---|
committer | Billy Laws <[email protected]> | 2023-01-05 19:10:39 +0000 |
commit | 86a720d2cf0c81c5f9dc501bef2e4210431c5317 (patch) | |
tree | 78656c40b0a92ac941ffd9b672794cb53615d89e /include | |
parent | d7ad93a88864bda94e282e95028f90b5784e4d20 (diff) | |
download | sirit-86a720d2cf0c81c5f9dc501bef2e4210431c5317.tar.gz sirit-86a720d2cf0c81c5f9dc501bef2e4210431c5317.zip |
Add OpGroupNonUniformElect, OpGroupNonUniformBroadcastFirst
Diffstat (limited to 'include')
-rw-r--r-- | include/sirit/sirit.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sirit/sirit.h b/include/sirit/sirit.h index 6ced1a8..aea4468 100644 --- a/include/sirit/sirit.h +++ b/include/sirit/sirit.h @@ -1160,6 +1160,14 @@ public: /// TBD Id OpSubgroupAllEqualKHR(Id result_type, Id predicate); + // Result is true only in the active invocation with the lowest id in the group, otherwise + // result is false. + Id OpGroupNonUniformElect(Id result_type, Id scope); + + // Result is the Value of the invocation from the active invocation with the lowest id in the + // group to all active invocations in the group. + Id OpGroupNonUniformBroadcastFirst(Id result_type, Id scope, Id value); + // Result is the Value of the invocation identified by the id Id to all active invocations in // the group. Id OpGroupNonUniformBroadcast(Id result_type, Id scope, Id value, Id id); |