Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Fri, 01 Jun 2012 12:05:35 -0300
From: Claudio André <claudioandre.br@...il.com>
To: john-dev@...ts.openwall.com
Subject: clBuildProgram on a multi-GPU environment

Hi, this might make sense to get into the new release. In common_opencl.c:

-  build_code = clBuildProgram(program[dev_id],0, NULL,
+  build_code = clBuildProgram(program[dev_id],1,&devices[dev_id],


Seems to me the patch is better on a multi-GPU environment. The 
situation on John now is NULL on device_list parameter of 
clBuildProgram. But "If|device_list|is NULL value, the program 
executable is built for all devices ..." and we are going to run the 
software on only 1.

https://github.com/claudioandre/magnum-jumbo/commit/9bf37df59e503ccd60705200446b9a1e18c9ee92

Claudio

[1] 
http://www.khronos.org/registry/cl/sdk/1.0/docs/man/xhtml/clBuildProgram.html 


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.