Skip to content

Commit 1a46be1

Browse files
Copilotaneshlya
andcommitted
Add ISPC_TARGET_HAS_RAND to documentation
This macro was missing from the documentation but is defined by ISPC. Co-authored-by: aneshlya <[email protected]>
1 parent 0f6a22b commit 1a46be1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/ispc.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1409,6 +1409,9 @@ preprocessor runs:
14091409
- 1
14101410
- The macro is defined if float16 type is supported by the ``ispc`` target.
14111411
The implementation may rely either on native hardware support or emulation.
1412+
* - ISPC_TARGET_HAS_RAND
1413+
- 1
1414+
- The macro is defined if the target supports the ``rand()`` function.
14121415
* - ISPC_FP64_SUPPORTED
14131416
- 1
14141417
- The macro is defined if double type is supported by the target

0 commit comments

Comments
 (0)