fixed gpu.set and added gpu.get