[gmx-developers] GROMACS OpenCL on Gallium

Vedran Miletić rivanvx at gmail.com
Tue Oct 20 20:45:36 CEST 2015


is there any interest for extending GROMACS OpenCL support to include
Gallium for Radeon cards and perhaps others?

(Background: We have a machine in our lab with Debian
unstable/experimental and latest Kernel/DRM/LLVM/Mesa and an AMD
Caicos card, set up a couple of years ago in hope that AMD will make
completely open source OpenCL stack work at some point. After recent
updates, we managed to run hello world examples and parts of ViennaCL

Running gmx mdrun on Radeon HD 7450 on Kernel 4.2.3 and Mesa 11.0.2 results in

Fatal error:
Failed to compile NBNXN kernels for GPU #AMD CAICOS (DRM 2.43.0, LLVM 3.7.0)

This creates a file named nbnxn_ocl_kernels.cl.FAILED with the
following information:

Compilation of source file failed!
-- Used build options: -DWARP_SIZE_TEST=64 -D_AMD_SOURCE_
--------------LOG START---------------
input.cl:59:10: fatal error:
'nbnxn_ocl_kernels_fastgen_add_twincut.clh' file not found
input.cl:45:36: note: expanded from macro 'FLAVOR_LEVEL_GENERATOR'
---------------LOG END----------------

Is there any interest in supporting this configuration? Is there
anyone besides us who would run GROMACS on Gallium and Radeon cards?


Vedran Miletić

More information about the gromacs.org_gmx-developers mailing list