Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <50FAA2FF.5020409@gmail.com>
Date: Sat, 19 Jan 2013 11:43:27 -0200
From: Claudio André <claudioandre.br@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: Mulit-gpu using claudio's interfaces

Em 19-01-2013 03:26, Sayantan Datta escreveu:
>
>
> Okay ,I think I've got it. It is the ocl_device_list[] which maps 
> directly to gpu_id right ?
>
> Regards,
> Sayantan

Hi, sorry it was 3:00 AM.

Yes.

- ocl_gpu_id is a sequential number (only one; for legacy code)
- ocl_device_list is a (array) list of sequential numbers.
- And ocl_gpu_id = ocl_device_list[0]

BTW: name renames might be advisable. I don't like the ocl_gpu_id, 
someone else would not like the ocl_device_list[] name.
BTW 2: it is not really hard to start devices from 1 (not zero). It will 
impact only common ('my') code. You don't need to care about it.

Claudio

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.