Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A nice starter kit for OpenCL? [closed]

Tags:

ide

opencl

I've got some experience with OpenGL and it's programmable pipeline. I'd like to give OpenCL a try, though.

Could somebody propose a nice integrated kit for working with OpenCL?

I know only of QuartzComposer which looks nice, but it's mac-only. Anyone knows if it supports hand-editing of OpenCL kernels or is it all only through the GUI?

Any other Linux / Windows alternative?

like image 602
Albus Dumbledore Avatar asked Jan 20 '12 09:01

Albus Dumbledore


People also ask

Can OpenCL run on CPU?

 OpenCL can use CPUs as a compute device just it can for GPUs.  There is no local memory, CPUs cache is utilized in OpenCL just like any normal CPU program.

What is Windows OpenCL?

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.


1 Answers

(Disclaimer: I'm the developer of OpenCLHelper).

I'm not sure exactly what your requirements are, ie if you're looking for an IDE for OpenCL, complete with debugger and so on, then you can stop reading this reply.

However, if what you want is a way of using OpenCL with much less boilerplate, and which makes it easy to load kernels, and pass arguments to them, then you might consider OpenCLHelper

https://github.com/hughperkins/OpenCLHelper

OpenCLHelper:

  • handles much of the boilerplate of initializing OpenCL, locating devices, creating queues
  • makes it easy to pass arguments to, and receive arguments from, a kernel
  • uses clew, so that binding to OpenCL is at runtime, just in case you need OpenCL to be an optional part of your program, rather than mandatory at runtime
  • makes it relatively painless to take data from one kernel, and provide it to the next, without moving it back and forwards between GPU and PC memory
like image 71
Hugh Perkins Avatar answered Sep 21 '22 08:09

Hugh Perkins