1. A processing apparatus, comprising: a central processing unit (CPU); a graphics processing unit (GPU); and data sharing logic to perform static physical data sharing between the CPU and the GPU by changing code written for the GPU to operate with CPU variables, wherein the data sharing logic comprises a host compiler to generate a host object file, a shared data segment in the host object file, and a table section in the host object file that describes variables defined in the shared data segment, wherein the table is used at runtime to calculate variable offsets within the shared data segment.