changed addCheckSamplerT to generate kernel arg numbers for mdata instead of arg names