1. A method comprising: receiving, at a computer device, source code indicating a processor accelerator function; automatically generating wrapper code at the computer device to call the processor accelerator function; and compiling the wrapper code and the source code to generate an application program.