AnsweredAssumed Answered

C++ Wrapper Release ?

Question asked by bardia on Apr 22, 2013
Latest reply on Apr 23, 2013 by LeeHowes

Hi All,


I need to release a cl::Buffer object and reallocate with different size during program execution. I have to declare it global to be available in other files and functions. Since cl::Buffer has not any direct desstructor, is it safe to use its parent (Wrapper) destructor? In other words: mycl_Buf.~Wrapper();


If no, what is the safe method?

Thanks in Advance