Reputation: 1423
Whatever program I ran on GPU, even if programs that ran successfully before, my GPU throws this error: CL_OUT_OF_RESOURCES for the clEnqueueReadBuffer function.
Then I remembered that I ran a deep learning framework last night which crashed and may ate up all the memory on GPU. I tried to restart the computer, but it doesn't work.
Is it possible that my GPU ran out of memory due to the DL framework's crash?
If so, how should I solve this problem?
Upvotes: 1
Views: 235
Reputation: 8420
CL_OUT_OF_RESOURCES
is a generic error given by NVIDIA implementation at clEnqueueRead
, it more or less means:
Something went out of bounds (resources) when trying to write to this buffer
Most probably the kernel you launched before that writes to that buffer went out of bounds of the buffer.
Upvotes: 1