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:
leak-test.c
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:
https://community.amd.com/t5/opencl/amdgpu-pro-20-45-rocr-vs-pal-opencl-breaks-boinc-gpu-processing/...
Platform: V1605B + Radeon Vega Gfx 8
Thanks