Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I program an INTEL GPU

Tags:

intel

gpu

opencl

I am quite new in the world of GPU Computing. So I would really like someone to explain me the very basics. I have to Intel chipsets with the following GPUs:

  • GMA4500
  • HD graphics

I am interested in running algebraic and bitwise functions with huge data sets, like transpose of an array or bitwise shift of the lines of an array, in a GPU. The goal is of course to gain more performance.

My main question is how can I program such on GPUs? In the past I have used CUDA to program on nVIDIA video card. I understand from previous topics that I can't use CUDA for an INTEL GPUs. Thanks in advance!!

Update 1

I found out that Intel supports OpenCL for HD graphics. More precisely the Intel SDK for OpenCL applications provides a comprehensive development environment for OpenCL application on Intel® platforms including compatible drivers, code samples, development tools, such as the code builder, optimization guide, and support for optimization tools.

The SDK supports OpenCL 1.2 on 3rd and 4th generation Intel® Core™ processors with Intel® HD Graphics and Intel® Iris™ Graphics Family, Intel® Atom™ Processors with Intel HD Graphics, Intel® Xeon® processors, and Intel® Xeon Phi™ coprocessors.

like image 988
Nick Avatar asked Sep 02 '14 13:09

Nick


People also ask

How do I get to Intel HD Graphics Control Panel?

Tweak Performance Settings in Intel’s HD Graphics Control Panel. To launch it, right-click the Windows desktop and select “Graphics Properties.” You can also launch the “Intel HD Graphics Control Panel” tool from your Start menu. Click the “3D” icon when the control panel window appears to access 3D graphics settings.

How to force a specific graphics card to run a program?

Force the program to use a specific graphics card using Windows 10 settings Regardless of the manufacturer of the GPU, or its model, every application can be customized to use a dedicated GPU when run by default. Open the Start Menu by pressing the Windows Key, and then click on the Settings (Gear) Icon Now click on System.

How do I Change which GPU is used for which application?

Click on Options. You will now see the Graphics Preference window, from where you can set which GPU to be used for the respective application. Select Power Saving if you wish to run the application on the built-in GPU, or select High Performance to run the application on the secondary GPU.

How do I choose the right GPU for my laptop?

A lot of modern laptops come with two graphics cards, one integrated with the motherboard and the other one is a dedicated GPU. Normally, Windows can automatically select the most appropriate GPU for all apps. If you want to force a program to use a specific GPU, you can change Windows settings appropriately.


1 Answers

OpenCL is the standard, cross-vendor API for GPGPU programming, roughly analogous to nVidia's proprietary CUDA.

like image 88
Wyzard Avatar answered Sep 17 '22 12:09

Wyzard