Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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!

like image 294
user2867417 Avatar asked Mar 07 '26 12:03

user2867417


1 Answers

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.

like image 111
prunge Avatar answered Mar 09 '26 19:03

prunge



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!