Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 15 Apr 2012 21:54:56 +0530
From: SAYANTAN DATTA <std2048@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: OpenCL optimisations for different cards (was: MSCash2 OpenCL)

> Should we add something in common-opencl.c to help adjusting to
> different cards? Earlier I added -DDEVICE_IS_CPU (but I currently do not
> use it). We could add -DNVIDIA_GPU and -DAMD_GPU and some with higher
> granularity. Then we can use #ifdefs in one same kernel file to adopt.
>
> Another possibilty (if the code is so different the #ifdefs gets messy)
> is of course having a couple different kernel files and let the host
> code pick the best one, with little or no support needed from
> common-opencl.c.
>
> magnum
>
>
Let me do a few tests first.  But for now it seems like the second option
would be the best.

Regards,
Sayantan

Content of type "text/html" skipped

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.