amd / OpenCL-caffe

This is a Experimental version of OpenCL by AMD Research, we now recommend you to use The official BVLC Caffe OpenCL branch is over at Caffe branch now at https://github.com/BVLC/caffe/tree/opencl
Other
517 stars 152 forks source link

Memory leak #56

Closed ndv closed 7 years ago

ndv commented 8 years ago

Memory keeps growing while training a net. Testing is turned off, so the problem must be in training.

Using AMD Radeon.

ndv commented 7 years ago

The problem was debug printf in my opencl code. Apparently, there is memory leak in AMD driver when printf appears in the kernel, even if that printf is never called.