Created attachment 258115 [details] Clinfo output Trying to couple mainline amdgpu driver with opencl from amdgpu-pro (installed via Gentoo dev-libs/amdgpu-pro-opencl package). Clinfo and apps see the opencl but when trying to create a command queue driver returns CL_OUT_OF_HOST_MEMORY. (My previous attempts end up with clinfo crash, so it is an obvious progress). The same behavior is reported on Ubuntu 16.04.3 as you may see here https://redmine.darktable.org/issues/11702 kernel 4.12.0-pf7 (4.11 ->) xorg-server-1.19.3 libdrm-2.4.82 x11-drivers/xf86-video-amdgpu-1.3.0 dev-libs/amdgpu-pro-opencl-17.30.465504
Created attachment 258119 [details] Kernel config
Created attachment 258121 [details] Dmesg output
Created attachment 258123 [details] darktable-cltest output
Created attachment 258125 [details] lspci -k output