1. A software development environment (SDE), comprising: a parser configured to partition an integrated source code into a host code partition and a device code partition, said host code partition including a reference to a device variable; a translator configured to: embed device machine code, compiled based on said device code partition, into a modified host code, define a pointer in said modified host code configured to be initialized, upon execution of said integrated source code, to a memory address allocated to said device variable, and replace said reference with a dereference to said pointer; and a host compiler configured to employ a host library to compile said modified host code.