GPU: start = new_segments[:,:2] # (x1, y1) IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed