compute-runtime icon indicating copy to clipboard operation
compute-runtime copied to clipboard

Installation methods

Open jeyblu opened this issue 3 years ago • 3 comments

The documentation says there are different options for installation. You can use package manager or manually download. It is not clear which one should be used for a developer that needs to develop code using the opencl sdk. Is installing it using the package manager enough? To build Intel oneDNN for gpu, it says it needs the opencl sdk. Is installing the compute-runtime using the package manager sufficient or do you need to use the manual installation method? Can you add more info in the documentation about what gets installed by the package manager and what gets installed if you manually install it? I've installed it on Ubuntu 20.04 using the package manager with "apt-get install intel-opencl-icd". It installed but I couldn't find the path where the sdk is installed. The oneDNN project requires the path to the sdk. Thanks.

jeyblu avatar Apr 06 '21 23:04 jeyblu

Please take a look at these instructions and see if they address your concerns / questions. It covers recommended installation through package manager.

AdamCetnerowski avatar Apr 08 '21 10:04 AdamCetnerowski

Thanks, it addresses most of my questions. The "Optional: Install developer packages" section list the packages that need to be installed. Does any of the packages in that section include the Intel opencl sdk which is required for developing gpgpu software for Intel gpu? An example of such gpgpu software is Intel oneDNN.

jeyblu avatar Apr 08 '21 18:04 jeyblu

(Apologies for late reply)

No, the instructions apply only to the driver. For more information on application development see OpenCL SDK page or the documentation for specific libraries.

AdamCetnerowski avatar Jun 30 '22 08:06 AdamCetnerowski