Runtime API error?

I am getting a Runtime API error. It is as follows:

cudaSafeCall() Runtime API error 10201: unspecified driver error.

It occurs when I use the following line (commenting it is not giving that error msg):

cutilSafeCall(cudaGraphicsGLRegisterBuffer(&cuda_pbo_resource, gl_PBO, cudaGraphicsMapFlagsWriteDiscard));

Is cudaGraphicsGLRegisterBuffer causing the problem? What can be the problem? Please help me. Thank you.