OpenCL for intel

sulla
sulla
Joined: 24 Apr 05
Posts: 2
Credit: 2323259
RAC: 0
Topic 196610

I wondered what it would take to provide an openCL-enabled client for intel GPUs, as the new HD4000 and HD2500 graphics cores of the ivy-bridge CPUs now support openCL.

Perhaps an adaption of the openCL code for AMD graphics chips would not be too difficult? openCL = openCL, after all.

Sulla

Alex
Alex
Joined: 1 Mar 05
Posts: 451
Credit: 507044931
RAC: 111931

OpenCL for intel

I asked this question some time ago
http://einsteinathome.org/node/196359&nowrap=true#117568

regards

alexander

Bikeman (Heinz-Bernd Eggenstein)
Bikeman (Heinz-...
Moderator
Joined: 28 Aug 06
Posts: 3522
Credit: 723560314
RAC: 1163805

RE: I wondered what it

Quote:

I wondered what it would take to provide an openCL-enabled client for intel GPUs, as the new HD4000 and HD2500 graphics cores of the ivy-bridge CPUs now support openCL.

Perhaps an adaption of the openCL code for AMD graphics chips would not be too difficult? openCL = openCL, after all.

Sulla

Hi!

The HD2500 GPUs that come with Sandy Bridge chips are not supported by Intel for OpenCL (no driver!). However, Intel does support OpenCL for the Ivy Bridge GPUs. Before we can use this resource on Einstein@Home, BOINC also has to support this (detection of the GPUs etc). The BOINC team is aware of this requirement and they should be working on this right now.

Indeed, the app itself should run more or less out of the box on Intel GPUs via OpenCL, but you never know...we'll have to test this. Currently I don't have a GPU equipped Ivy Bridge at my disposal, but if you are willing to assist in some test runs, you can send me a PM and I would then try to send you some test suite code that validates the computation in stand-alone mode, without BOINC.

Cheers
HB

Jord
Joined: 26 Jan 05
Posts: 2952
Credit: 5893653
RAC: 112

The biggest problem that the

The biggest problem that the developers have at this moment is that when you have an AMD or Nvidia GPU already and you install the OpenCL drivers for the Intel GPU, that these overwrite the OpenCL description in the directory that BOINC checks for OpenCL capable GPUs.

So then it'll only detect the Intel GPU, no longer the AMD or Nvidia GPU.

dmike
dmike
Joined: 11 Oct 12
Posts: 76
Credit: 31369048
RAC: 0

I have an ivy bridge and no

I have an ivy bridge and no openCL devices. I'd be willing to test for ya. PM sent.

Claggy
Claggy
Joined: 29 Dec 06
Posts: 560
Credit: 2699403
RAC: 0

RE: I have an ivy bridge

Quote:
I have an ivy bridge and no openCL devices. I'd be willing to test for ya. PM sent.


What does CLinfo show? are OpenCL devices detected?

Claggy

Jord
Joined: 26 Jan 05
Posts: 2952
Credit: 5893653
RAC: 112

RE: The HD2500 GPUs that

Quote:
The HD2500 GPUs that come with Sandy Bridge chips are not supported by Intel for OpenCL (no driver!).


The HD2000 and HD3000 are integrated in the Sandy Bridge processors and don't support OpenCL.
The HD2500 and HD4000 are integrated in Ivy Bridge and do support OpenCL.

For more information, see Intel Supported Graphics APIs and Features.

For anyone with a suitable CPU and time to test, make sure you have the embedded GPU enabled (through BIOS) and its video drivers installed (get them here).

Note: Anyone with an Nvidia or AMD GPU already in the system and them installing the OpenCL drivers for their Intel device, these drivers overwrite the OpenCL driver part in Windows that your videocard driver installation put there. Therefore it is possible, that, after you installed the Intel OpenCL drivers, your Nvidia or AMD GPU is no longer being detected as OpenCL capable.

Only uninstalling the Intel OpenCL drivers will fix that.
There is no other known fix for this yet.

dmike
dmike
Joined: 11 Oct 12
Posts: 76
Credit: 31369048
RAC: 0

Sorry, let me be clear. I

Sorry, let me be clear.

I have no other OpenCL devices except the HD4000 on my i7 ivy bridge.

So, if I install those drivers, I'll be crunching OpenCL on my i7? Is that in addition to the 8 threads running?

Jord
Joined: 26 Jan 05
Posts: 2952
Credit: 5893653
RAC: 112

No, as a) it may need a BOINC

No, as a) it may need a BOINC client that can detect the GPU in the processor, and at this time BOINC can't do that yet;
b) it requires an Einstein@Home OpenCL application for the Intel HD GPUs and they don't have one yet.

dmike
dmike
Joined: 11 Oct 12
Posts: 76
Credit: 31369048
RAC: 0

Oh, alrighty then, thanks for

Oh, alrighty then, thanks for the info. If and when it becomes available I'll be ready to give it a go.

I sent Bikeman a PM offering to test for the project.

sulla
sulla
Joined: 24 Apr 05
Posts: 2
Credit: 2323259
RAC: 0

I am willing to participate

I am willing to participate in a test. PM sent.

My hardware: intel HD4000 GPU on an ivy-bridge i5-3570k CPU
My software: Windows7x64 and no compilers installed, so I would need binary code.

Sulla

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.