Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 23 Dec 2012 00:59:22 +0100
From: magnum <>
Subject: Re: Opencl build from binary

On 22 Dec, 2012, at 5:49 , Sayantan Datta <> wrote:
> Yes it would be a nice idea to support --devices = 1,2,3...., but I think we should internally map the device numbers to corresponding pairs of platform_number and device_number inside common-opencl.c . 

Yes, we'd have to. I think we should make more use of structs. Given "device" (an int) maybe we should be able to get/set/use device.oclPlatform and device.oclDevice, and also device.oclQueue, device.startEvent and so on. And maybe, which would point to the next device in the list? I'm not sure, I'm just thinking out loud.


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.