Skip to content

Commit

Permalink
Document the GPU conditional built-ins (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfellis authored Jan 22, 2025
1 parent ad9289d commit b46be33
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/built_ins.md
Original file line number Diff line number Diff line change
Expand Up @@ -3015,7 +3015,10 @@ For clarity, the table of functions will be broken up into broad categories, and

### GPGPU Conditional functions

TODO
| Name | Type | Description |
| :------ | :------------------------------- | :------------------------------------------------------------------------------------------------------------------------------ |
| `if{T}` | `(gbool, () -> T, () -> T) -> T` | Conditionally executes either the first or second function depending on the `gbool` value, returning the output of the function |
| `if{T}` | `(gbool, T, T) -> T` | Conditionally returns either the first or second value depending on the `gbool` value |

### GPGPU Boolean and Bitwise functions

Expand Down

0 comments on commit b46be33

Please sign in to comment.