culaShutdown and culaInitialize in .mex file
2 posts
• Page 1 of 1
culaShutdown and culaInitialize in .mex file
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.
I used MATLAB 2012 64 bit in Window 7 64 bit.
- huameichen0523
- Posts: 1
- Joined: Sun Sep 02, 2012 2:51 pm
Re: culaShutdown and culaInitialize in .mex file
Hello, this should be fixed in the next version. Please see this thread: viewtopic.php?f=15&t=1063
- john
- Administrator
- Posts: 587
- Joined: Thu Jul 23, 2009 2:31 pm
2 posts
• Page 1 of 1
Return to General CULA Discussion
Who is online
Users browsing this forum: No registered users and 1 guest