Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Beginning OpenCL tutorials? [closed]

Tags:

I have seen some videos and articles about how powerful OpenCL can be - and I'm hooked. The problem is there is a LOT less resources out there to help you with OpenCL then .. say OpenGL.

I am looking for some pointers to some beginning OpenCL (e.g. a Hello World tutorial) tutorials and some advanced tutorials as well when I get the hang of it.

Also - how 'cross platform' is OpenCL, how many different operating systems (e.g. Windows, Linux, iOS & Android) could I get an OpenCL program running on.

BTW: I would prefer tutorials on using OpenCL with C++ (not Java etc.) :-)

EDIT: If I were to start developing in OpenCL where would I need to go for downloads like headers & .lib files on a Windows system (On linux you just need to type sudo apt-get install opencl-dev & I think Mac OS X already has it installed?).

like image 569
PersonWithName Avatar asked Jun 29 '13 06:06

PersonWithName


People also ask

Does OpenCL run on GPU?

OpenCL™ (Open Computing Language) is a low-level API for heterogeneous computing that runs on CUDA-powered GPUs. Using the OpenCL API, developers can launch compute kernels written using a limited subset of the C programming language on a GPU.

How do I run OpenCL in Visual Studio?

To start to your OpenCL project, click menu File->New->Project in Visual Studio and select Visual C++ -> OpenCL -> CPU/GPU OpenCL Project for Windows.


1 Answers

How 'cross platform' is OpenCL, how many different operating systems (e.g. Windows, Linux, iOS & Android) could I get an OpenCL program running on?

OpenCL is open standard but mostly relies on a driver that a vendor develops for a specific hardware and operating system.

To obtain drivers, c++ lib and information follow the links:

Khronos

AMD

AMD guide (beginner to relatively advanced)

Nvidia

Nvidia guide (beginner to relatively advanced) + CUDA (to learn more techniques for Nvidia GPUs)

Mac

Intel

ARM

Samsung

Qualcomm

like image 188
a.lasram Avatar answered Sep 22 '22 18:09

a.lasram