http://bugzilla.opensuse.org/show_bug.cgi?id=1173005 http://bugzilla.opensuse.org/show_bug.cgi?id=1173005#c22 Aaron Puchert <aaronpuchert@alice-dsl.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aaronpuchert@alice-dsl.net --- Comment #22 from Aaron Puchert <aaronpuchert@alice-dsl.net> --- (In reply to Stefan Dirsch from comment #18)
Indeed the best in ocl-icd/libOpenCL1 would be to check /etc/OpenCL/vendors first and then fall back to /usr/share/OpenCL/vendors. Feel free to work on a patch. ;-) --> ocl_icd_loader.c:__initClIcd(void)
I've worked on a patch for this and submitted it for factory/TW. I'm attaching it here as well. It may still get changes in the package though.
Shouldn't we rather check both directories? With the patch, if I have anything in /etc/OpenCL/vendors, or even just an empty directory, I can't use MesaOpenCL anymore without creating a symlink. Of course that isn't trivial. Even better would probably be override semantics, but maybe that's overkill. -- You are receiving this mail because: You are on the CC list for the bug.