gridtable needs to be in the __constant memory space