Old Content Alert
Please note that this is a old document archive and the will most likely be out-dated or superseded by various other products and is purely here for historical purposes.
When getting something to run on the SPU it can be quite irksome when trying to move data local to deal with private and protected functions within classes. Offloading code to the SPU can require accessing and modifying deeply hidden class variables to achieve performance, and while a clean solution by adding in the correct methods to perform the functionality required on the hidden data would be the preferred solution, when trying to get an example to work and not be constrained by the language we have included a very useful compiler option, -fno-access-control. –fno-access-control will turn off all restrictions on accessing private and protected fields and functions of classes within the Offload compiler.