StreamHPC / gromacs

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

Set correct flags for clCreateBuffer #13

Open ancahamuraru opened 9 years ago

ancahamuraru commented 9 years ago

Low priority issue. Currently, all clCreateBuffer calls use the CL_MEM_READ_WRITE flag. Check the code to see how the buffer is going to be used and take the right decisions regarding the flags that are actually needed.