substitued new THCudaTensor_indexSelect with new one.