OpenCL support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | package/opengl/opencl: new virtual packagepackage/ package/ package/ | +14 | 1 reply | |
| 1/6 | package/opengl/opencl: new virtual package | +0 | 0 replies | |
| 2/6 | package/mesa3d: enable OpenCL supportpackage/ package/ package/ | +62 | 1 reply | |
| 2/6 | package/mesa3d: enable OpenCL support | +0 | 0 replies | |
| 3/6 | package/mesa3d-headers: install OpenCL headers when neededpackage/ | +4 | 0 replies | |
| 4/6 | package/nvidia-driver: use += where appropriatepackage/ | +3 | 0 replies | |
| 5/6 | package/nvidia-driver: become an OpenCL providerpackage/ package/ | +7 | 0 replies | |
| 6/6 | package/clinfo: new packageDEVELOPERS package/ package/ +2 more | +39 | 0 replies |
Reviews trailers per patch
2 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Valentin Korenblit |
|---|---|
| 1/6 | R-b |
| 1/6 | R-b |
| 2/6 | |
| 2/6 | |
| 3/6 | |
| 4/6 | |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Buildroot] [PATCH 0/6] OpenCL support
Hello,
This series started with the patches from Valentin enabling mesa3d as an OpenCL provider, and clinfo as a first package using OpenCL.
OpenCL, like OpenGL or EGL, is an API specified by Khronos, so it can have multiple implementations. Therefore, tying clinfo directly with mesa3d wasn't the right thing to do.
And indeed, we have at least another package in Buildroot that provides an OpenCL implementation: nvidia-driver, and clinfo builds fine against it.
So, this series introduces a virtual-package for OpenCL, and makes nvidia-driver and mesa3d providers of OpenCL. In order to make nvidia-driver a provider of OpenCL, we need to teach mesa3d-headers how to install OpenCL headers, because nvidia-drivers doesn't provide them (just like it doesn't provide GL, EGL, etc. headers).
Thomas
Thomas Petazzoni (4):
package/opengl/opencl: new virtual package package/mesa3d-headers: install OpenCL headers when needed package/nvidia-driver: use += where appropriate package/nvidia-driver: become an OpenCL provider
Valentin Korenblit (2):
package/mesa3d: enable OpenCL support
package/clinfo: new package
DEVELOPERS | 1 + package/Config.in | 1 + package/clinfo/Config.in | 12 ++++++++ package/clinfo/clinfo.hash | 4 +++ package/clinfo/clinfo.mk | 21 ++++++++++++++ package/mesa3d-headers/mesa3d-headers.mk | 4 +++ package/mesa3d/0003-set-LIBCLC_INCLUDEDIR.patch | 37 +++++++++++++++++++++++++ package/mesa3d/Config.in | 14 ++++++++++ package/mesa3d/mesa3d.mk | 12 +++++++- package/nvidia-driver/Config.in | 5 ++++ package/nvidia-driver/nvidia-driver.mk | 8 ++++-- package/opengl/Config.in | 1 + package/opengl/libopencl/Config.in | 6 ++++ package/opengl/libopencl/libopencl.mk | 7 +++++ 14 files changed, 129 insertions(+), 4 deletions(-) create mode 100644 package/clinfo/Config.in create mode 100644 package/clinfo/clinfo.hash create mode 100644 package/clinfo/clinfo.mk create mode 100644 package/mesa3d/0003-set-LIBCLC_INCLUDEDIR.patch create mode 100644 package/opengl/libopencl/Config.in create mode 100644 package/opengl/libopencl/libopencl.mk
Signature · 1 line
2.14.4