[cfe-commits] [PATCH] OpenCL: introduce support for function scope __local variables

Peter Collingbourne peter at pcc.me.uk
Wed Jul 27 14:10:58 PDT 2011


Hi,

This patch introduces support for function scope __local variables.
It does so by introducing a new storage class, SC_WorkGroupLocal,
for __local variables, and an OpenCL runtime class which controls
how __local variable declarations are emitted.  The default behaviour
is simply to emit an internal global.

Reviews appreciated.

Thanks,
-- 
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-OpenCL-introduce-support-for-function-scope-__local-.patch
Type: text/x-diff
Size: 13225 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110727/439c94f3/attachment.patch>


More information about the cfe-commits mailing list