Problem: $ clinfo Number of platforms 1 Platform Name Clover Platform Vendor Mesa Platform Version OpenCL 1.1 Mesa 17.1.1 Platform Profile FULL_PROFILE Platform Extensions cl_khr_icd Platform Extensions function suffix MESA Platform Name Clover Number of devices 1 Device Name AMD TONGA (DRM 3.10.0 / 4.11.3-300.fc26.x86_64, LLVM 4.0.0) Device Vendor AMD Device Vendor ID 0x1002 Device Version OpenCL 1.1 Mesa 17.1.1 Driver Version 17.1.1 Device OpenCL C Version OpenCL C 1.1 Device Type GPU Device Available Yes Device Profile FULL_PROFILE Max compute units 32 Max clock frequency 1030MHz Max work item dimensions 3 Max work item sizes 256x256x256 Max work group size 256 Compiler Available Yes === CL_PROGRAM_BUILD_LOG === fatal error: cannot open file '/usr/lib64/clc//tonga-amdgcn-mesa-mesa3d.bc': No such file or directory Preferred work group size multiple <getWGsizes:500: build program : error -11> Proposed soution: ./configure.py should also enable amdgcn-mesa-mesa3d and perhaps amdgcn--amdhsa as well
gromacs from the fedora26 default repo crashes when used with OpenCl with following error: ------------------------------------------------------- Program: gmx mdrun, version 2016.3 Source file: src/gromacs/gpu_utils/ocl_compiler.cpp (line 273) Function: size_t gmx::ocl::getWarpSize(cl_context, cl_device_id) Internal error (bug): Failed to compile NBNXN kernels for GPU #AMD TONGA (DRM 3.10.0 / 4.11.9-300.fc26.x86_64, LLVM 4.0.0) Could not build OpenCL program to determine warp size, error was CL_BUILD_PROGRAM_FAILURE For more information and tips for troubleshooting, please check the GROMACS website at http://www.gromacs.org/Documentation/Errors and same problem in clinfo: Number of devices 1 Device Name AMD TONGA (DRM 3.10.0 / 4.11.9-300.fc26.x86_64, LLVM 4.0.0) Device Vendor AMD Device Vendor ID 0x1002 Device Version OpenCL 1.1 Mesa 17.1.4 Driver Version 17.1.4 Device OpenCL C Version OpenCL C 1.1 Device Type GPU Device Available Yes Device Profile FULL_PROFILE Max compute units 28 Max clock frequency 1010MHz Max work item dimensions 3 Max work item sizes 256x256x256 Max work group size 256 Compiler Available Yes === CL_PROGRAM_BUILD_LOG === fatal error: cannot open file '/usr/lib64/clc//tonga-amdgcn-mesa-mesa3d.bc': No such file or directory Preferred work group size multiple <getWGsizes:500: build program : error -11> Preferred / native vector sizes
libclc-0.2.0-7.git1cb3fbf.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-db4f11cb08
libclc-0.2.0-7.git1cb3fbf.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-db4f11cb08
libclc-0.2.0-7.git1cb3fbf.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.