user2867417
user2867417

Reputation: 41

OpenCL source code?

I would like to take a look on how the OpenCL framework is implemented. All I find are libraries that are already compiled available for download.

Surely there can be many different implementations of OpenCL, but I would like to take a look at one of those to learn how its done.

Just to make sure I make myself clear, by OpenCL framework I mean the part that manages platforms, devices, command queues, etc.

Thank you!

Upvotes: 4

Views: 2293

Answers (2)

user2365669
user2365669

Reputation: 166

Other open source implementations: Clover in mesa, FreeOCL and COPRTHR and its Parallella fork

Upvotes: 0

prunge
prunge

Reputation: 23238

Many implementations are closed-source proprietary software that comes with the video card drivers. But there are a couple of open source ones that I know of:

  • Beignet - an OpenCL implementation for Intel Ivy Bridge. Source code here.
  • Pocl - uses LLVM.

I don't know how complete the implementations are, but might be enough to start you off. Both seem to have active development.

Upvotes: 2

Related Questions