error in allocating memory on GPU

[font=“Times New Roman”][font=“Arial Black”]After launching one kernal & freeing of all global memory when i tried to allocate another global memory it throws the error message.

Any reason for such behavior.

Thanks in advance…[/font][/font]

sample code please, not all of us have a crystal ball, you know.

sample code please, not all of us have a crystal ball, you know.