Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sat, 19 Jan 2013 10:41:03 +0530
From: Sayantan Datta <>
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.


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.