Can you run a program compiled with NVIDIA's SDK under an ATI driver,
even when NVIDIA's opencl.dll is provided? I am guessing no.

I am under the impression that one should install either an ATI, or an
NVIDIA driver (and opencl.dll) on a computer. The project should have
two versions of the app, each compiled with either ATI or NVIDIA's SDK
(They can have the same source code, of course, which is what makes
OpenCL interesting!). The project should then send the appropriate
executable to each machine. In other words, at least for now there is no
way to have one executable run under both ATI and NVIDIA drivers.

About the requirement of having an OpenCL SDK installed on volunteer
computers, I wonder if this is because of the app compiling the OpenCL
kernel at runtime. Maybe if the app uses a pre-compiled image of the
kernel then one can get away with the SDK not being present. This is
just a guess.

We also have two versions of our aqua app for NVIDIA and ATI. They run
when invoked manually, and accept a "--device" argument to determine
which GPU to use (as provided to cuda apps before, but I can't find this
argument in the sched_customize.cpp file any more). We can try the apps
under BOINC when it can detect and report OpenCL's presence.

-Kamran



-----Original Message-----
From: Raistmer [mailto:[email protected]] 
Sent: Wednesday, May 12, 2010 2:44 PM
To: Kamran Karimi; Rom Walton; David Anderson (BOINC)
Cc: [email protected]
Subject: Re: [boinc_dev] OpenCL support?

Yes, they should have SDK installed. Look ATI forums, I already asked
about 
it.
Currently OpenCL based SETI AstroPulse in testing, SDK required.
Moreover, OpenCL.DLL from NV not compatible with one from ATI. That's
why 
this DLL should be included in science app distribution. Or app will
fail on 
machines with NV SDK installed.

----- Original Message ----- 
From: "Kamran Karimi" <[email protected]>
To: "Rom Walton" <[email protected]>; "David Anderson (BOINC)" 
<[email protected]>
Cc: "Raistmer" <[email protected]>; <[email protected]>
Sent: Thursday, May 13, 2010 1:34 AM
Subject: RE: [boinc_dev] OpenCL support?


Yes, I think OpenCL.dll and the OpenCL driver are installed at the same
time (when the user runs the OpenCL driver installer).

OpenCL.lib, however, is part of the SDK and is needed to compile an
OpenCL app. I am not sure if the volunteers should have the SDK
installed on their computer if they want to run an OpenCL app. Hopefully
not.

-Kamran



-----Original Message-----
From: Rom Walton [mailto:[email protected]]
Sent: Wednesday, May 12, 2010 2:24 PM
To: David Anderson (BOINC)
Cc: Raistmer; Kamran Karimi; [email protected]
Subject: RE: [boinc_dev] OpenCL support?

I think the OpenCL libraries are supposed to be included with the driver
install (Nvidia) or Stream SDK (ATI) and not the project applications.
I'm not sure you'll even be able to statically link it.  It'll just be
another system library like kernel32.dll.

OpenCL.DLL is supposed to be installed in the Windows system directory
and is more than likely specific to a driver.

----- Rom

-----Original Message-----
From: David Anderson [mailto:[email protected]]
Sent: Wednesday, May 12, 2010 5:14 PM
To: Rom Walton
Cc: Raistmer; Kamran Karimi; [email protected]
Subject: Re: [boinc_dev] OpenCL support?

?? these libraries would be included with the app,
either by static linking or by bundling them.
Let's not get things confused.

Rom Walton wrote:
> IIRC, on Windows the library apps link against is opencl.dll, on *nix
> based machines it is libopencl.so.
>

_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to