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
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