Page 1 of 1

culaShutdown and culaInitialize in .mex file

PostPosted: Sat Sep 08, 2012 8:17 pm
by huameichen0523
I wrote a MATLAB .mex function which calls a culaDevice function. I found that each time I called culaInitialize(), the MATLAB memory usage increases and I expected the memory usage returned back to where it was before the .mex function was called, but it did not. As a result, after calling the .mex function thousands of times, it crashed. Is it correct that culaShutdown() should free the memories allocated by culaInitialize()? Do I miss anything here?

I used MATLAB 2012 64 bit in Window 7 64 bit.

Re: culaShutdown and culaInitialize in .mex file

PostPosted: Fri Oct 12, 2012 12:21 pm
by john
Hello, this should be fixed in the next version. Please see this thread: viewtopic.php?f=15&t=1063