Define local arrays statically if the relevant macros are defined
Arrays in the
__local address space can be defined in the source code if the size is known at compile time. When the macros
NSWORK, and so on are defined, the array sizes can be calculated. This should hopefully avoid tedious argument binding code in the C bindings #14.