first commit for __do_print in ptx.