|
Message-ID: <2d059fc8a0d38b87da601d25c079aa41@smtp.hushmail.com> Date: Mon, 14 May 2012 09:12:29 +0200 From: magnum <john.magnum@...hmail.com> To: john-dev@...ts.openwall.com Subject: Re: Changes in common_opencl.c On 05/14/2012 03:39 AM, SAYANTAN DATTA wrote: > On Mon, May 14, 2012 at 1:47 AM, magnum <john.magnum@...hmail.com> wrote: > >> Why do you need to call it twice? > > To initialize two or more devices under a single format. Ah, of course. I suspect there may be several things in common-opencl.c that would not handle this well yet. There are lots of global variables. > I see no problems from running --test (other than ones caused by not >> having format destructors). >> > I think there is no problem from running --test because the function > cleanup_tiny_memory() is called everytime a format is destroyed. I think it's only called at program exit - after all formats have run. Anyway that mem_calloc_tiny() is probably the least of your problems. magnum
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.