Added recv_and_hold() function so that samples can be passed to GPU processor