arrow_back_ios
Back to List
Moving data definitions into Offload™ blocks
Offload KB - faq
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.
Within an Offload™ block, code that does not depend on PPU data (defined outside an offload block) will generate fast SPU code. The compiler provides a number of compiler options (/kb/80.html) to spot PPU data dependencies in order to help the programmer to remove or refactor them for performance.
Moving data local onto the SPU (i.e. defining variables inside an offload block) is the essential idea behind the cache classes (/kb/136.html) and the data locality library (/kb/71.html).