title: CUDA stop working after error
body: <p>After I had the following error from my CUDA program: </p>
  
  <pre><code>CUDA error at scan.cu:231 code=4(cudaErrorLaunchFailure) 
  "cudaMemcpy(odata, g_odata,   sizeof(int) * N, cudaMemcpyDeviceToHost)"
  </code></pre>
  
  <p>I fixed it and recompiled the program, but the program didn't proceed. It stopped at the command line prompt and I had to kill it using control+C.</p>
  
  <p>After I rebooted the machine, It ran successfully.</p>
  
  <p>How can I fix this without rebooting?</p>
  
  <p>I'm using Ubuntu 12.04 with CUDA 5.5 gtx550ti boost</p>
  
  <p>Thanks!</p>