cuda filter run, but works incorrectly