- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it possible to download OpenCL SDK and runtime using wget or curl? There's a developer who wants to create a docker container and use wget or curl to download the OpenCL SDK inside the container.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are we sure the OpenCL SDK is required, or could another solution that provides the OpenCL headers and an OpenCL library to link to work as well?
For example:
- The OpenCL headers are maintained on GitHub.
- The source code for both the Khronos OpenCL ICD loader and the alternative ocl-icd loader provided by may Linux distros are on GitHub (only one of these is needed):
- The Khronos OpenCL SDK provides binary releases with both of these components that may work as well:
If the CPU OpenCL runtime is also needed then this will be a little more complicated, but there is a chance we could make something work there also, using the oneAPI GitHub releases e.g. https://github.com/intel/llvm/releases/tag/2022-WW13.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
onnxruntime uses oneDNN as one of its backend execution providers. If oneDNN can use the OpenCL headers and OpenCL library as you've suggested instead of the OpenCL SDK, then the way you suggested can work. But according to documentation, to build oneDNN for GPU requires OpenCL SDK. Do you know if oneDNN can replace the OpenCL SDK requirement with the OpenCL headers and OpenCL library?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
From the oneDNN github https://github.com/oneapi-src/oneDNN, OpenCL SDK is not necessary. Please see the "Requirements for building from Source" part.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We haven't heard back from you for a long time so we are assuming that the provided details helped you in solving problem. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only.
Thanks

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page