Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sat, 19 Jan 2013 10:41:03 +0530
From: Sayantan Datta <std2048@...il.com>
To: john-dev@...ts.openwall.com
Subject: Mulit-gpu using claudio's interfaces

Hi Claudio,magnum,

I think I am not on the same page as everyone else regarding the ocl_gpu_id
and device_id in common-opencl.h.

Caludio, I see you have provided two functions to translate the sequential
id(s) to platform and device id(s). But I guess the
devices[],ques[],contexts[],program[] are indexed by ocl_gpu_id ,right ? If
so you don't seem to have provided any function to transform the sequential
id(s) to ocl_gpu_id. Am I supposed to calculate that internally in the
format ? If yes, then please provide the math.

Also I see that the -device option begins from 0. I think Frank and magnum
suggested it should start from 1. Anyways, it is not a big issue I guess.

Regards,
Sayantan

Content of type "text/html" skipped

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ