- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Memory leak with clEnqueueWriteBuffer
Hi,
We've found there is a memory leak in the clEnqueueWriteBuffer function for the amdgpu-pro 20.40.
My colleague prepared a sample test so we can reproduced it:
After a while, the device runs out of memory and the process is being killed by the oom. Memory is never released.
We've run the same test in a bobcat platform with AMD ATI Radeon HD 6320 + fglrx driver and the leak does not happen.
We are still using amdgpu-pro 20.40 because the 20.45 installation is broken:
Platform: V1605B + Radeon Vega Gfx 8
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry for the delay. The memory leak was fixed in the amdgpu driver:
https://patchwork.kernel.org/project/dri-devel/patch/20210317160840.36019-1-daniel@qtec.com/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @daniel-qtec ,
Thank you for reporting this issue. I've whitelisted you for the Devgurus community.
We are still using amdgpu-pro 20.40 because the 20.45 installation is broken:
As I can see, the latest driver for embedded V1000 series gpu is available here: here: https://www.amd.com/en/support/embedded/amd-ryzen-embedded-v-series-processors/v-series-v1000-radeon...
Did you install the latest driver available there? If not, please try this driver and share your observation.
Note: As per the release note, the list of compatible products for amdgpu-pro-20-40 or amdgpu-pro-20-45 does not include this embedded product.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry for the delay. The memory leak was fixed in the amdgpu driver:
https://patchwork.kernel.org/project/dri-devel/patch/20210317160840.36019-1-daniel@qtec.com/
