Simplification: grid contains only device pointers :-)