passing device counter in descriptor kernel, instead of keypoints_end