|
Message-ID: <CAAepdCaBE9oxr72nLzWzhwL0c3VODOM9+MhQ5zBpE1_hsU8PYw@mail.gmail.com>
Date: Mon, 22 Jul 2013 00:03:52 +0100
From: Rafael Waldo Delgado Doblas <lord.rafa@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: cryptocurrency mining fallback in JtR
Hello, the changes are made in the repo
https://github.com/LordRafa/cgmineron branch 2.10. There only a few
lines in order to get the platform_id and
device_id from the API
api.c
root = api_add_int(root, "ID", &(cgpu->device_id), false); +
root = api_add_int(root, "CL Platform ID", &(cgpu->cl_platform_id),
false);
+ root = api_add_int(root, "CL Device ID", &(cgpu->cl_device_id), false);
root = api_add_string(root, "Driver", cgpu->api->dname, false);
miner.h
struct device_api *api; int device_id; + int
cl_platform_id; + int cl_device_id; char *name;
ocl.c
+ cgpu->cl_platform_id=opt_platform_id;
+ cgpu->cl_device_id=gpu;
2013/7/21 Solar Designer <solar@...nwall.com>
> On Sat, Jul 20, 2013 at 11:22:58PM +0100, Rafael Waldo Delgado Doblas
> wrote:
> > The cgminer changes was committed in:
> > https://github.com/LordRafa/cgminer
>
> I don't see your changes in there. Can you be more specific?
>
> > Also I decide avoid the use of ncurses to avoid this dependency and
> because
> > I prefer the non ncurses view but if you want, we can keep it.
>
> If you simply omit the option, would there really be a dependency?
> Wouldn't cgminer simply build without ncurses if the ncurses development
> library is not installed?
>
> As to preference, I think we shouldn't override cgminer default without
> reason.
>
> Alexander
>
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.