New OpenCL. Need some clarification.


log in

Advanced search

Questions and Answers : GPU applications : New OpenCL. Need some clarification.

Author Message
Profile SongBird
Send message
Joined: 23 Oct 01
Posts: 60
Credit: 59,007,184
RAC: 82,370
Bulgaria
Message 1366064 - Posted: 9 May 2013, 14:55:20 UTC

Hi,

I just found out that new version of BOINC has support for OpenCL on Intel GPU's. I installed the new version, got the OpenCL detected, but I do not see what I expected to see - namely a process for each CPU core + another process utilizing the GPU(via OpenCL) - as the CUDA BOINCs I have running.

Why is that?

I guess I'm missing something... Could it be that the CPU applications use OpenCL if available? That would mean that I should see a spike in the computers RAC, right?

OS is 64bit Windows 7, CPU is i5-3470, GPU is HD Graphics 2500 (1624MB).

Thanks!


P.S. I had some lunatics custom apps installed but I removed them. As far as I can tell BOInC is working with its own set of calculators.
____________

Profile ignorance is no excuse
Avatar
Send message
Joined: 4 Oct 00
Posts: 9529
Credit: 44,433,321
RAC: 0
Korea, North
Message 1366072 - Posted: 9 May 2013, 15:35:58 UTC - in response to Message 1366064.

OpenCL is intended for GPU not CPU use. Your GPU needs to be capable of using OpenCL and have it installed correctly for it to be used. Your computer appears to be running Intel Graphics. I am not aware of an app that runs on that Graphics card. IIRC the CUDA and AMD/ATI card are supported using OpenCl.
____________
In a rich man's house there is no place to spit but his face.
Diogenes Of Sinope

End terrorism by building a school

Profile BilBg
Volunteer tester
Avatar
Send message
Joined: 27 May 07
Posts: 2795
Credit: 6,312,579
RAC: 7,542
Bulgaria
Message 1366105 - Posted: 9 May 2013, 18:41:54 UTC - in response to Message 1366064.


Read this:
Open beta for OpenCL AstroPulse for Intel GPUs started:
http://setiathome.berkeley.edu/forum_thread.php?id=70717


____________



- ALF - "Find out what you don't do well ..... then don't do it!" :)

Profile Ageless
Avatar
Send message
Joined: 9 Jun 99
Posts: 12324
Credit: 2,629,532
RAC: 1,085
Netherlands
Message 1366149 - Posted: 9 May 2013, 21:59:41 UTC - in response to Message 1366072.

OpenCL is intended for GPU not CPU use.

Not sure if you mean this in general, or for BOINC or any project.
If in general, then do know that OpenCL can run on CPUs as well. Any Intel CPU from a Core Duo to present and any AMD X86 CPU with SSE 2.x or later will do.

The next BOINC will add OpenCL support for CPUs. Perhaps that projects will want to use OpenCL for multithreaded applications, over the present MT technology.
____________
Jord

Fighting for the correct use of the apostrophe, together with Weird Al Yankovic

Profile SongBird
Send message
Joined: 23 Oct 01
Posts: 60
Credit: 59,007,184
RAC: 82,370
Bulgaria
Message 1366223 - Posted: 10 May 2013, 6:58:30 UTC

To recap. Even though BOINC now detects Intel gpu's OpenCL the Seti@Home project still does not have an app that can use it. To use it I would have to tinker with a third party beta app (the one from Raistmer). Since I don't have the time and inclination I should probably just wait for BOINC to just download and start using the OpenCL app once Seti@Home project comes around to making it available.

Is that about right?
____________

Profile Raistmer
Volunteer developer
Volunteer tester
Avatar
Send message
Joined: 16 Jun 01
Posts: 3491
Credit: 47,652,630
RAC: 46,999
Russia
Message 1366279 - Posted: 10 May 2013, 9:13:03 UTC - in response to Message 1366223.

To recap. Even though BOINC now detects Intel gpu's OpenCL the Seti@Home project still does not have an app that can use it. To use it I would have to tinker with a third party beta app (the one from Raistmer). Since I don't have the time and inclination I should probably just wait for BOINC to just download and start using the OpenCL app once Seti@Home project comes around to making it available.

Is that about right?

Right. if no time to test currently available then just wait when it will become more mature and released as stock app. That way you will have nothing additional to do, your hardware will be used in auto mode.

____________

Profile SongBird
Send message
Joined: 23 Oct 01
Posts: 60
Credit: 59,007,184
RAC: 82,370
Bulgaria
Message 1366294 - Posted: 10 May 2013, 10:05:25 UTC - in response to Message 1366279.

Thank you all!

____________

Profile SongBird
Send message
Joined: 23 Oct 01
Posts: 60
Credit: 59,007,184
RAC: 82,370
Bulgaria
Message 1367759 - Posted: 14 May 2013, 6:55:11 UTC
Last modified: 14 May 2013, 6:56:24 UTC

Let me use this thread for an inquiry. So, I'm trying to test the Intel GPU app from Raistmer.

This is the appinfo i gathered to be needed:

<app>
<name>astropulse_v6</name>
</app>
<file_info>
<name>AP6_win_x86_SSE2_OpenCL_Intel_r1764.exe</name>
<executable/>
</file_info>
<file_info>
<name>libfftw3f-3.dll</name>
</file_info>
<file_info>
<name>ap_cmdline_win_x86_SSE2_OpenCL_Intel.txt</name>
</file_info>
<app_version>
<app_name>astropulse_v6</app_name>
<version_num>604</version_num>
<platform>windows_intelx86</platform>
<avg_ncpus>0.04</avg_ncpus>
<max_ncpus>0.2</max_ncpus>
<plan_class>opencl_intel_100</plan_class>
<cmdline></cmdline>
<coproc>
<type>intel_gpu</type>
<count>1</count>
</coproc>
<file_ref>
<file_name>AP6_win_x86_SSE2_OpenCL_Intel_r1764.exe</file_name>
<main_program/>
</file_ref>
<file_ref>
<file_name>libfftw3f-3.dll</file_name>
</file_ref>
<file_ref>
<file_name>ap_cmdline_win_x86_SSE2_OpenCL_Intel.txt</file_name>
<open_name>ap_cmdline.txt</open_name>
</file_ref>
</app_version>


The problem is that I have not seen a single work unit send for this app. What might be the problem?

The machine I'm trying to use this on is a Dell Inspiron 5720 laptop with two GPUs. The 630m calculates CUDA ok, but no OpenCL via Intel GPU(HD Graphics 4000). Could it be that they can not work at the same time? Or could it be that there are no work units? If not, can you point me to a direction where I could go to try and diagnose the problem?

What I'm looking for is the two GPUs working together.
____________

Profile BilBg
Volunteer tester
Avatar
Send message
Joined: 27 May 07
Posts: 2795
Credit: 6,312,579
RAC: 7,542
Bulgaria
Message 1367827 - Posted: 14 May 2013, 12:00:59 UTC - in response to Message 1367759.


Read this:
http://boinc.berkeley.edu/wiki/Anonymous_platform

... to find:
- how to name the file (app_info.xml and not appinfo)
- it's structure (e.g. begin/end tags)
- where to put it
- that it have to contain info about ALL the apps that you want to run

Almost any error in app_info.xml will lead to BOINC delete all the tasks on board!

If you put in app_info.xml only the info for OpenCL Intel GPU app
you will of course lose all other tasks (CPU, CUDA, ...) and not get any new for those devices.
Only astropulse_v6 for Intel GPU OpenCL will be downloaded (if available and if app_info.xml is correct).


____________



- ALF - "Find out what you don't do well ..... then don't do it!" :)

Profile SongBird
Send message
Joined: 23 Oct 01
Posts: 60
Credit: 59,007,184
RAC: 82,370
Bulgaria
Message 1367847 - Posted: 14 May 2013, 13:27:08 UTC - in response to Message 1367827.
Last modified: 14 May 2013, 13:36:28 UTC

I guess I took some shortcuts explaining. I know what the file is called, where it is placed and how it should properly be formatted. I just used shorthand assuming you'd figure out what my background is. A bit of a boneheaded decision on my part, sorry about that...

Anyway. I think everything is ok, formattingwise, with my app_info.xml. I guess I could have mucked up the content. Bellow is a link to the xml, just in case. In it there are only two app. The CUDA and IntelGPU openCL ones.



appinfo: https://docs.google.com/file/d/0B-d9irLzOGvjb3pCZUtnaXluRms/edit?usp=sharing
____________

ClaggyProject donor
Volunteer tester
Send message
Joined: 5 Jul 99
Posts: 4140
Credit: 33,525,968
RAC: 24,365
United Kingdom
Message 1367862 - Posted: 14 May 2013, 13:49:46 UTC - in response to Message 1367759.

The problem is that I have not seen a single work unit send for this app. What might be the problem?

I still get the impression that the scheduler hasn't been upgraded with Intel GPU suppoort yet, the other Intel OpenCL Beta testers get work by doing a CPU and Intel GPU work fetch (you're got to have the CPU Astropulse_v6 app in your app_info),
the scheduler sends it to the CPU, and marks it as CPU work, while Boinc takes the work, and says it's Intel GPU work, and uses the Intel GPU app to compute it:

All AstroPulse v6 tasks for computer 6915997

All AstroPulse v6 tasks for computer 6937166

Claggy

Questions and Answers : GPU applications : New OpenCL. Need some clarification.

Copyright © 2014 University of California