Opencl release problem on AMD GPU

Recently, I met a problem that one opencl program runs normally on NV GPU but cannot release memory normally( only part of them can be released) on AMD GPU. This problem has a great effect on my result.
Has anyone ever met the same problem?