culaShutdown and culaInitialize in .mex file

General discussion for CULA. Use this forum for questions, examples, feedback, and feature requests.

culaShutdown and culaInitialize in .mex file

Postby huameichen0523 » Sat Sep 08, 2012 8:17 pm

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.
Posts: 1
Joined: Sun Sep 02, 2012 2:51 pm

Re: culaShutdown and culaInitialize in .mex file

Postby john » Fri Oct 12, 2012 12:21 pm

Hello, this should be fixed in the next version. Please see this thread: viewtopic.php?f=15&t=1063
Posts: 587
Joined: Thu Jul 23, 2009 2:31 pm

Return to General CULA Discussion

Who is online

Users browsing this forum: No registered users and 1 guest