x11-drivers/ati-drivers-14.12 fails to install libamdhsasc64.so This library is required for OpenCL applications. Without it, calls to clCreateCommandQueue() will fail with the error code CL_OUT_OF_HOST_MEMORY (-6). Reproducible: Always Steps to Reproduce: 1. Run OpenCL program which calls clCreateCommandQueue(). 2. 3. Actual Results: clCreateCommandQueue() returns error code CL_OUT_OF_HOST_MEMORY (-6). Expected Results: clCreateCommandQueue() returns error code CL_SUCCESS (0). The fix is to install libamdhsasc64.so into /usr/lib64 (or wherever appropriate).
Can you try x11 overlay, I don't have hsa system so opencl works for me either way. The libraries are now installed as you proposed
Yes, the x11 overlay ati-drivers-14.12.ebuild file worked fine. Thanks for the prompt work. I should have stated that I am using an AMD A10-7800 APU (Radeon R7), rather than an AMD GPU. Your observation about non-HSA systems is surely correct.
(In reply to emil karlson from comment #1) > Can you try x11 overlay, I don't have hsa system so opencl works for me > either way. The libraries are now installed as you proposed I've synced your changes into 14.12-r2, can you please sync it back to x11 overlay as there have been other changes to multilib stuff? *ati-drivers-14.12-r2 (05 Jan 2015) 05 Jan 2015; Manuel Rüger <mrueg@gentoo.org> +ati-drivers-14.12-r2.ebuild: Proxy commit for Emil Karlson. Install HSA libraries. Fixes bug #533942