Questions tagged [opencl]

OpenCL (Open Computing Language) is a framework for writing programs that execute across heterogeneous platforms consisting of CPUs, GPUs, and other processors.

This tag refers to the OpenCL (Open Computing Language) by Khronos Group. It is the first open, royalty-free standard for cross-platform, parallel programming of modern processors found in personal computers, servers and handheld/embedded devices. Using OpenCL, one can affect execution of parallel computations greatly improving speed and responsiveness of a wide spectrum of applications: From gaming and entertainment to scientific and medical software.

OpenCL is an API and a C99-like language; for each device, implementations are provider-specific. Some of the OpenCL implementation providers are:

Questions about OpenCL can be asked here along with the vendor/provider and architecture details. Bug reports should be discussed in the respective forums of the vendors NVIDIA Forums, Intel Forums, AMD Forums

Books

137 questions
74
votes
5 answers

How to install libOpenCL.so on ubuntu

I downloaded intel_sdk_for_opencl_2016_ubuntu_6.0.0.1049_x64, tried to run install.sh but it says Unsupported OS, so I then read somewhere that I needed to make .deb file from one of the RPM files, I did it with…
Badjano
  • 903
32
votes
4 answers

How can I get nVidia CUDA or OpenCL working on a laptop with nVidia discrete card/Intel Integrated Graphics?

Background: I'm a 3D artist (as a hobby) and have recently started using Ubuntu 12.04 LTS as a dual-boot with Windows 7. It's running on my a fairly new 64-bit Toshiba laptop with an nVidia GeForce GT 540M GPU (graphics card). It also, however has…
22
votes
1 answer

How to get OpenCL to work on an AMD GPU with Ubuntu 16.04?

I have a PC with a: VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Venus XT [Radeon HD 8870M / R9 M270X/M370X] [1002:6821] (rev ff) (prog-if ff) How can I get OpenCL to work on it? I'm not offered a proprietary driver in…
21
votes
2 answers

/usr/bin/ld: cannot find -lOpenCL

Currently trying to compile a simple program given in OpenCL from this website. It will give me the required DeviceInfo that I need. After simply invoking a make, I get the error below: sharan@sharan-X550CC:~/opencl-ex/Ex1$ make g++ DeviceInfo.cpp…
SDG
  • 447
16
votes
3 answers

OpenCL On ubuntu 16.04, Intel Sandy Bridge CPU

Is it possible to install openCL on 16.04 (CPU-Only)? I tried many guides, but still do not get a working box. I have a sandy-bridge second gen CPU, if this matters.
amanusk
  • 1,596
  • 2
  • 16
  • 21
14
votes
2 answers

How do I install the NVIDIA CUDA toolkit on 18.04 with Coffee Lake - is it supported?

I love the install of 18.04 and I also work with blender3d a great deal. I need the CUDA toolkit in order to render with my GPU instead of my CPU. I have read that it's critical that I get the right toolkit or could have some pretty bad issues. Just…
12
votes
3 answers

How to make OpenCL work on 14.10 + Nvidia 331.89 drivers?

Proprietary drivers 331.89 do not give me OpenCL. (tried both tested/updates) for a while I had version 304.123 that worked - except I wanted the current drivers, and now are unable to downgrade. Anyway - I could downgrade by workaround, but I…
user105939
  • 1,795
11
votes
2 answers

How enable OpenCL on AMD gpu Ubuntu 22.04 LTS?

When I'm not using my desktop, it mines. When I was on 20.04 LTS, I used AMD's proprietary driver to install the ROCm component of their driver only, found here:…
10
votes
2 answers

AMD Driver / No OpencL platforms found / AMDGPU installation

Using a fresh install 17.04 lUbuntu Fairly new to Ubuntu and as often is my problem any help I try to find is way more advanced than I can follow. I'm trying to use test my AMD R9 290 card for mining using Genoils miner. I tried it on Windows before…
Mortasi
  • 111
9
votes
0 answers

Installation of Intel OpenCL

Since I have a Intel HD 5000 and would like for Blender to work a little faster, I am trying to get Intel's OpenCL support to work on my Ubuntu 14.04. I installed clinfo, ocl-icd-libopencl1 and the latest OpenCL SDK from Intel (although, they do not…
9
votes
2 answers

Open cl in intel

How to compile and run open cl codes on intel i5 processors having intel hd 4000 gpu unit??? Open cl has been istalled in /opt/intel/opencl and versionis ubuntu 12.04. Any help would be of great help... Thanks
8
votes
1 answer

How to enable CPU platform for OpenCL applications?

I am currently running Ubuntu 16.04 on a machine with an AMD A8-5600K APU and a Radeon R9 270X. The amdgpu driver does not yet support my card and therefore I cannot use OpenCL on my GPU. However, I see no reason why OpenCL applications can't use my…
Nathan Osman
  • 32,495
7
votes
3 answers

OpenCL only works as root

No matter how I try to get OpenCL working (sgminer, cgminer, c programming examples, clinfo) I only get a result when I run as root. When I run clinfo not as root I get: terminate called after throwing an instance of 'cl::Error' what(): …
7
votes
1 answer

Running OpenCL apps with bumblebee

I have installed CUDA Toolkit 5.0 and nvidia-experimental-310 drivers. CUDA examples works fine with optirun but every OpenCL app fails to run with error calling clGetPlatformIDs function. I've tried examples from NVIDIA OpenCL SDK and also examples…
swish
  • 462
  • 1
  • 4
  • 14
6
votes
2 answers

Why OpenCL is not default (14.04, nVidia 331)?

I am only one without OpenCL or it is a common problem? UPDATE: It appears that something removed /etc/OpenCL/vendors/nvidia.icd, which should have been installed with nvidia-opencl-icd-331, but it doesn't. It started with BOINC. It refused to…
1
2 3
9 10