Add GPU alloc routine for splotch integration

Fix some thrust deprecated names.