<2022-03-16 Wed>
调用clCreateBuffer()
产生异常问题(六)
我可能解决了这个问题,原来是因为没有及时清理内存的缘故!
将问题最终定位在了RunOpenCLBenchmark()
的结尾DestroyImage(resizedImage);
处,即在DestroyCacheInfo()
中应该有清除OpenCL
相关内存的代码。
见commit
:fix exception abort in clCreateBuffer()。