StreamHPC / gromacs

OpenCL porting of the GROMACS molecular simulation toolkit
http://www.gromacs.org
Other
25 stars 4 forks source link

Put definition for data structures shared by the OpenCL host and device into one single file #16

Open ancahamuraru opened 9 years ago

ancahamuraru commented 9 years ago

The data structures shared between the OpenCL host and device are defined twice: once in the host code, once in the device code. Put the definitions in a file that will be shared by the host and device. The three main structures are: cl_atomdata_params_t cl_nbparam_params_t cl_plist_params_t