using LAMMPS with ATI cards, GPU library not compiled for this accelerator

Apparently, for Cayman and Cypress cards, double precision is supported.
For Barts, Juniper, Redwood, and Cedar cards, double precision is not supported.

Steve and Scott, the attached file can be replaced in lib/gpu so that OpenCL will compile for all of the AMD cases. If you try to use double precision on an unsupported card, it will complain at runtime.

Scott, let me know if this doesn't work for you.

Thanks. - Mike

lal_preprocessor.h (9.62 KB)