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.
137
questions
73
votes
4
answers
236k
views
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 ...
32
votes
4
answers
100k
views
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 ...
22
votes
1
answer
36k
views
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 ...
21
votes
2
answers
190k
views
/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@...
16
votes
3
answers
76k
views
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.
12
votes
3
answers
24k
views
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.
...
11
votes
2
answers
38k
views
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 ...
11
votes
2
answers
26k
views
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: https://www.amd.com/en/support/...
10
votes
1
answer
19k
views
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 ...
9
votes
2
answers
10k
views
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.....
9
votes
0
answers
8k
views
Installation of Intel OpenCL [duplicate]
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 ...
8
votes
1
answer
4k
views
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 ...
7
votes
3
answers
5k
views
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 ...
7
votes
1
answer
3k
views
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 ...
6
votes
1
answer
21k
views
OpenCL with Nvidia 390 on Ubuntu 18.04
On 16.04, OpenCL worked with my Nvidia 840M running the latest Nvidia drivers in the Ubuntu repos.
I've done a fresh install for 18.04, however using the 390 Nvidia drivers from the Ubuntu repos (not ...
6
votes
1
answer
4k
views
Ubuntu 12.10 OpenCL OpenGL Interop with ATI graphics
I have successfully installed the ATI Catalyst drivers on a my ATI hybrid graphics system running on Ubuntu 12.10. I have verified that OpenCL and OpenGL work independently; however OpenCL-OpenGL ...
6
votes
3
answers
9k
views
How to get OpenCL support for navi10 GPUs from AMD?
For my AMD Radeon RX 5700XT I tried amdgpu-pro drivers (v19.50) installation on modern (kernel 5.3) Ubuntu 18.04.3 as driver claims it's supported but compilation failed with C++ errors. Tried the ...
6
votes
2
answers
7k
views
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 ...
5
votes
3
answers
2k
views
Opencl application does not recognize GPU till user physically ( and not remote) logs in to machine
I run some opencl applications on 2x AMD Radeon HD 7870 on a machine running Ubuntu 13.10.
I power the machine on and lightdm has the login prompt. Since I cannot physically be present to login to ...
5
votes
1
answer
2k
views
OpenCL programming on CPU and GPU with Nvidia cards?
I have a bi Xeon machine with Ubuntu 10.10 and a Nvidia GTX 480 graphic card on it and I'd like to use OpenCL on the CPU and the GPU.
I installed the latest Nvidia driver (nvidia-current) with apt-...
5
votes
1
answer
1k
views
Can AMD A-Series APU support OpenCL?
Have spent a lot of time on this one one but can't find an answer here.
Ubuntu 14.10 clean install.
AMD A10-7700K APU with Radeon(TM) R7 Graphics x4.
1) Started with the xserver open-source wrapper ...
5
votes
1
answer
5k
views
Ubuntu 16.10 NVIDIA OpenCL?
I have a brand new install of Ubuntu 16.10. I want to test against the NVIDIA version of OpenCL (I need portability across devices). So, I installed the CUDA toolkit via
sudo apt-get install ...
4
votes
2
answers
7k
views
Install OpenCL on ubuntu 16.04, Intel i5 7th gen Dell Inspiron Laptop
I recently purchased a Dell Inspiron 3000 series laptop with an Intel i5 7th generation processor. The machine came preloaded with Windows 8 but being an Ubuntu loyalist, I installed Ubuntu 16.04 on ...
4
votes
1
answer
13k
views
How do I enable automatically nvidia-uvm?
in order to use darktable with OpenCL everytime before starting darktable I have to issue
sudo modprobe nvidia-uvm
sudo mknod -m 666 /dev/nvidia-uvm c 250 0
What is the right way to enable nvidia-...
4
votes
2
answers
5k
views
How can I compile the OpenCL module for Pyrit?
I want to use my GPU with Pyrit. I use Ubuntu 11.10, ATI Radeon HD 68xx and i7 2600K.
Step done:
Install latest ATI driver from manufacturer website
Install AMD APP SDK
When I run benchmark I get:
...
4
votes
2
answers
10k
views
"cannot find -lOpenCL" error when making the Cuda SDK
I have an ASUS Notebook with nVidia gt 520m and thought about trying some OpenCL programming (first time) on Ubuntu 11.10. I installed the nvidia-current-dev package. Thus, I found libOpenCL.so and ...
4
votes
1
answer
2k
views
nVidia upgrade, no OpenCL
Have been running BOINC with a GeForce GTS450 GPU for some time under earlier Ubuntu versions and and has always run OpenCL flawlessly. I've just done an online upgrade to 14.04 and now BOINC log ...
4
votes
1
answer
6k
views
OpenCL 1.2 for AMD Card
On my laptop a have a discrete card that should support OpenCL 1.2 which I need to run the desired framework:
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation ...
4
votes
2
answers
2k
views
Bumblebee unable to load nvidia-uvm without sudo
Apparently nvidia-uvm is only loaded with sudo. I'm using nvidia-352 driver, so I added in my /etc/modprobe.d/bumblebee.conf file the next line
alias nvidia-uvm nvidia_352_uvm
Thus, the optirun ...
4
votes
2
answers
5k
views
Cannot get OpenCl to recognize AMD GPU (RX 480) after installing amdgpu-pro drivers
After installing AMD's GPU drivers here (specifically "version 20.20 for Ubuntu 20.04"), OpenCl doesn't work.
To install the drivers I unarchived the tarball and ran ./amdgpu-pro-install -y -...
4
votes
2
answers
2k
views
GPU only visible in clinfo for root
If I just run clinfo in a terminal, only my CPU is visible. But, if I run sudo clinfo my GPU suddenly appears. As far as I can tell, my GPU is not able to run any opencl code. Any thoughts?
I'm ...
4
votes
0
answers
432
views
OpenCL, gcc and 19.10
I'm trying to install OpenCL having recently upgraded to 19.10. The system gcc is 9.2.1-9ubuntu2.
However:
apt install mesa-opencl-icd
fails because it can't install libclc-r600 or libclc-amdgcn
...
4
votes
0
answers
947
views
AMD RX 470 OpenCL not working Ubuntu Server 18.04.1 with amdgpu-pro 18.50
I have spent a lot of time trying to get OpenCL to work on my RX 470. My goal is to run this server as a Folding@Home client. I have read guides like: How do I get a Radeon RX 550 working with OpenCL ...
4
votes
0
answers
5k
views
How can i enable opencl devices (GPU) on ubuntu 16.04?
When i type this in the command line
clinfo
i see this
Number of platforms 0
How can i enable opencl platforms on on my computer/GPU?
i am using ubuntu 16.04 and my computer is lenovo G50-...
4
votes
0
answers
4k
views
Ubuntu 12.04 OpenCL with Intel and Radeon? [closed]
I want to setup my Ubuntu 12.04 with OpenCL(Open Computing Language) support for i7 2600k and Radeon HD5870.
My Monitor is connected to the integrated Graphics of the i7. Intel OpenCL SDK is ...
3
votes
1
answer
14k
views
Install OpenCL on Ubuntu 17.04, intel [duplicate]
Install OpenCL on Ubuntu 17.04, Intel
I'm trying to install OpenCL on ubuntu 17.04
with:
$ lshw :
*-cpu
product: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
vendor: Intel Corp....
3
votes
2
answers
6k
views
OpenCL not working with RX 6700 XT
Card: RX 6700 XT
Ubuntu version: 20.04.2 LTS
Amdgpu version: 21.10
Problem: Running clinfo or sudo clinfo returns 1 platform, 0 devices. This problem is the same as the one mentioned here.
...
3
votes
1
answer
4k
views
Is OpenCL yet supported in Ubuntu with open source drivers?
I am running Ubuntu 15.10. I have i7-4770 CPU and Radeon HD 8490, both should have a GPU. I would like to try OpenCL programming, but I think I am missing some needed files like cl.h. Can I just ...
3
votes
2
answers
3k
views
How to upgrade mesa-opencl-icd
I'm using Ubuntu 20.04.1 lts (amd64).
It seems that mesa 20.3 supports opencl 1.2, so
Register the kisak-mesa PPA repository and
I tried to install mesa 20.3.
sudo add-apt-repository ppa: kisak / ...
3
votes
2
answers
14k
views
Can't load OpenCL runtime / or fails to load for xmrig
I have updated from Ubuntu 16.04 to 20.04. While doing so the uprade failed and I ended up doing a fresh install of 20.04. Fortunately, I have my home folder on another drive so that was saved. There ...
3
votes
1
answer
2k
views
Cannot get OpenCL to work with Radeon 5700XT
I'm on Ubuntu 18.04 with an AMD Radeon 5700XT graphics card. I cannot get OpenCL to work with it.
I'm using the AMDGPU driver installed with the parameters
--opencl=legacy,rocm
and I installed libgl1-...
3
votes
2
answers
5k
views
Install OpenCL/Pyopencl on Ubuntu 14.04
There are a lot of instructions on how to get OpenCL running on Ubuntu, but all of them are outdated (>4 years) or simply not working.
Is there any current, working tutorial on how to get open CL ...
3
votes
2
answers
8k
views
No OpenCL platform detected
I've tried dozens of methods, driver installs, uninstalls, reboots, reloads and all with the same result no open cl platforms detected as per below. I'm really about ready to throw in the towel on ...
3
votes
2
answers
6k
views
LibreOffice Draw is very slow with big projects
So I am making free educational books into Draw. I need it because it is amazing at providing the tools I need for design. However for large projects like say over 100 slides, the program gets super ...
3
votes
1
answer
1k
views
How should OpenCL from CUDA be set up in Ubuntu 16.10?
I'm trying to compile a program that makes use of OpenCL and CUDA and GPUs. I've attempted to install Nvidia drivers, CUDA, cuDNN, GCC and OpenCL on my Ubuntu 16.10 GTX 1070 machine and, for the most ...
3
votes
0
answers
4k
views
AMD Ryzen R7 5700G APU OpenCL on Ubuntu 20.04.3 LTS
I've just built a PC with a Ryzen R7 5700G APU, and it's working well under Ubuntu 20.04.3 except for the fact that I can't get OpenCL to work.
So far I've mostly tried installing AMDGPU and AMDGPU ...
3
votes
0
answers
3k
views
Ubuntu 18.10 with Nvidia 410: OpenCL not working anymore (clinfo: 0 platforms)
On Ubuntu 18.10 I've successfully installed the Nvidia-410 drivers and CUDA seems to be working okay. But OpenCL is not working (and I'm pretty sure it used to work before uprading to 18.10/410).
$ ...
3
votes
1
answer
2k
views
Enable AMD/Intel hybrid graphics in ubuntu 16.04
I got HP-ProBook 450 G0 laptop and it contains flowing graphic cards,
results of lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev ...
3
votes
2
answers
287
views
How to toggle easily between the AMD Catalyst driver and the open-source Radeon driver?
I've got an AMD Radeon R9 270X that works very well with the open-source Radeon driver.
However, I am going to occasionally be using an OpenCL application that requires the proprietary Catalyst ...
3
votes
1
answer
1k
views
Should ATI catalyst be installed for sake of openCL?
I have a HP Envy 4 1025tx with Hybrid graphics. Although this is a 64bit system, I've installed 32bit Ubuntu on it for some reasons.(Hybrid graphics don't do well with 64bit Ubuntu.-"Some one on ...