I don't know what happens when a user has both an NVIDIA and an ATI GPU.
To answer your question, I don't have an ATI card, but I have installed
ATI's SDK. As a result, now I have two OpenCL "platforms" available to
me. The ATI platform supports the CPU, while the NVIDIA platform
supports my CUDA card.

As you said, an app compiled with NVIDIA's OpenCL.lib file can't run
with an ATI OpenCL.dll. I'd imagine a user would install either an
NVIDIA or an ATI driver. Either way the project doesn't have to include
a suitable OpenCL.dll file with the application.

-Kamran


-----Original Message-----
From: Raistmer [mailto:[email protected]] 
Sent: Saturday, May 15, 2010 1:11 AM
To: Kamran Karimi; David Anderson
Cc: [email protected]
Subject: Re: [boinc_dev] BOINC now supports OpenCL

Do you have OpenCL for ATI GPUs already?
The problem of shipping OpenCL.dll with app strats when both SDKs (and
both 
DLLs ) present on user PC.
NV OpenCL.dll resides in system32 (that is, "system" file, no need to 
distribute indeed) but it can't handle ATI's OpenCL library calls.

----- Original Message ----- 
From: "Kamran Karimi" <[email protected]>
To: "David Anderson" <[email protected]>
Cc: <[email protected]>
Sent: Saturday, May 15, 2010 2:19 AM
Subject: Re: [boinc_dev] BOINC now supports OpenCL


> BTW there was no need to supply any OpenCL.dll files with the app. We
> sent the OpenCL kernel source to volunteer computers and compiled it
at
> execution time with no problem.
>
> In short, things worked smoothly.
>
> -Kamran
>
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Kamran Karimi
> Sent: Friday, May 14, 2010 3:15 PM
> To: David Anderson
> Cc: [email protected]
> Subject: [boinc_dev] BOINC now supports OpenCL
>
> I am happy to report that we successfully tried an NVIDIA OpenCL test
> version of our AQUA app on volunteer computers.
>
> There is no way to know for sure whether people who ran the work units
> on their computers had OpenCL SDKs or not, but we didn't see any
> failures, which means that every user with the appropriate NVIDIA
driver
> version (197.13+) who downloaded the OpenCL app ran it successfully to
> completion.
>
> We have an ATI OpenCL test version of the app too. We can try it ASA
the
> appropriate application plan is functional.
>
> -Kamran
>
>
> -----Original Message-----
> From: David Anderson [mailto:[email protected]]
> Sent: Wednesday, May 12, 2010 8:09 PM
> To: Kamran Karimi
> Cc: [email protected]
> Subject: Re: [boinc_dev] OpenCL support?
>
> I added plan classes cuda_opencl (misnomer, sorry) and ati_opencl.
> The former requires driver version 197.13+;
> the latter is a stub that never matches.
>
> -- David
>
> Kamran Karimi wrote:
>> Thanks for the clarification.
>>
>> I would appreciate it if you could do the app_plan() modifications to
>> make sure opencl_nvidia is available to everybody for testing.
>>
>> -Kamran
>>
>>
>> -----Original Message-----
>> From: David Anderson [mailto:[email protected]]
>> Sent: Wednesday, May 12, 2010 3:22 PM
>> To: Kamran Karimi
>> Cc: [email protected]
>> Subject: Re: [boinc_dev] OpenCL support?
>>
>> Kamran Karimi wrote:
>>> 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).
>>
>> It's not supplied by the scheduler.
>> It's supplied by the client, after it decides which GPU to use.
>>
>>> We can try the apps
>>> under BOINC when it can detect and report OpenCL's presence.
>>
>> You can try them right now;
>> just define an opencl_nvidia plan class,
>> and add a clause to app_plan() in which you check for
>> driver version 197.13 or later.
>> I can add this if you want.
>>
>> ATI: we need to wait until ATI includes OpenCL support in their
> driver.
>> Asking volunteers to install an SDK,
>> and having the client check for it, is not viable.
>>
>> -- David
>>
>
> _______________________________________________
> 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.
> _______________________________________________
> 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.
> 

_______________________________________________
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