finished basic GPU support, still need to find maxVal index on GPU