ptx: check for out of bound reads