Annotate the coordinate-related types in such a way as to make them compatible with CUDA __host__ __device__ functions.