Include 3D GPUs in GPU grain data

Fixes #15547.