added norm_inf support to minmaxloc kernel