Than cleaning it manually with a cudaMemcpy().
I would use cudaMemset if I understand your question correctly.
cudaMemset