GPU acceleration programming

How is it difficult and how long is it take to code GPU acceleration of a pair style not supported in standard release ?
Do I only have to compose source files lal_xxx.cpp, lal_xxx.cu, lal_xxx_ext.cpp, lal_xx.h, pair_xxx_gpu.h, pair_xxx_gpu.cpp for pair style xxx ?

Thank you.

How is it difficult and how long is it take to code GPU acceleration of a
pair style not supported in standard release ?

that depends very much on the kind of potential for which you want to
add support. if it is similar to one of the existing potentials,
usually not so much, if it is different it may be more effort, for
some it is a *lot* more.

Do I only have to compose source files lal_xxx.cpp, lal_xxx.cu,
lal_xxx_ext.cpp, lal_xx.h, pair_xxx_gpu.h, pair_xxx_gpu.cpp for pair style
xxx ?

if you want to add support to the GPU package, yes. before you start,
please post what potential exactly you want to port to GPUs. perhaps
somebody is already working on it. once you are done, please make the
code available, so that others can benefit from it as well.

thanks,
    axel.

And specifically, for the GPU package, you should ask
Mike Brown at ORNL, since he maintains the package
and its underlying library.

Steve