1. A method for conserving address space in device memory, the method comprising: allocating segments of the device memory to an array and obtaining a handle corresponding to a location in the device memory where the array is stored, wherein a size of the array is not limited by a size of the address space; binding a reference to the array, the reference including an attribute that controls how data stored in the array is interpreted by a multithreaded processor and specifies processing that is performed by the multithreaded processor when the data is read from the array; and storing the data in the array, wherein the data is accessed by specifying an index to the array.