fix documentation typo

This commit is contained in:
evghenii
2014-10-14 15:24:30 +02:00
parent 4e7ae5269b
commit 47b1f2182f

View File

@@ -5026,7 +5026,7 @@ Hints
----- -----
- ``uniform`` arrays in a function scope are statically allocated in - ``uniform`` arrays in a function scope are statically allocated in
``__shared__`` memory, with all ensuing consequences. For example, if more ``__shared__`` memory, with all ensuing consequences. For example, if more
all allocated than shared memory available per SMX, a linking or runtime error will occur than avaiable shared memory per SMX is allocated, a link- or runtime-error will occur
- If ``uniform`` arrays of large size are desired, we recommend to use - If ``uniform`` arrays of large size are desired, we recommend to use
``uniform new uniform T[size]`` for their allocation, ideally outside the ``uniform new uniform T[size]`` for their allocation, ideally outside the
tasking function (see ``deferred/kernels.ispc`` in the deferred shading example) tasking function (see ``deferred/kernels.ispc`` in the deferred shading example)