Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 10 May 2012 18:34:01 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: Changes in common_opencl.c

On 05/01/2012 11:52 PM, Claudio André wrote:
>> Not appliable?
>>
>> I think I just applied it to magnum-jumbo.
>>
> 
> Some adjustments to make. And it was not in the "git format-patch" format.
> 
> For example, i can get more information about NVIDIA hardware, calling
> oclGetDevCap. Seems to be NVIDIA only openCl. I have to take a closer
> look at it. The * nvidia calls are commented. *

I made it work as expected using extended clGetDeviceInfo calls, and
added some nvidia-specific output to -platform=list too.

I am not sure what to place for apple here:

diff --git a/src/common-opencl.h b/src/common-opencl.h
index 3ca7ec8..1b905b9 100644
--- a/src/common-opencl.h
+++ b/src/common-opencl.h
@@ -3,8 +3,10 @@

 #ifdef __APPLE__
 #include <OpenCL/opencl.h>
+/* Should there be an alternative cl_ext.h here? */
 #else
 #include <CL/cl.h>
+#include <CL/cl_ext.h>
 #endif

 #include "arch.h"


magnum

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.