Provide ISPC_POINTER_SIZE predefined maacro (32 or 64)

This commit is contained in:
Matt Pharr
2011-12-09 16:37:42 -08:00
parent 20f34b67da
commit d2fa735ef1
2 changed files with 8 additions and 0 deletions

View File

@@ -471,6 +471,9 @@ preprocessor runs:
* - ISPC_TARGET_{SSE2,SSE4,AVX}
- 1
- One of these will be set, depending on the compilation target.
* - ISPC_POINTER_SIZE
- 32 or 64
- Number of bits used to represent a pointer for the target architecture.
* - ISPC_MAJOR_VERSION
- 1
- Major version of the ``ispc`` compiler/language