StreamHPC / gromacs

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

Implement time measurements for OpenCL operations (bDoTime) #4

Closed ancahamuraru closed 9 years ago

ancahamuraru commented 10 years ago

Many functions doing OpenCL work on the host side have time measurements operations partially implemented or completely disabled. Most of them can be found by searching for the test: "if (bDoTime)". An example of how such measurements can be handled can be found at the end of the function nbnxn_ocl_init_atomdata from nbnxn_ocl_data_mgmt.c file. Please note that this code hasn't been tested.

This is a medium to low priority issue.

ancahamuraru commented 9 years ago

Check also how bDoTime is initialized. For the CUDA version bDoTime is by default TRUE, for the current OpenCL implementation it is FALSE.

ancahamuraru commented 9 years ago

Done. The latest version - https://github.com/StreamComputing/gromacs/tree/v5.0-alpha.1 includes the implementation for the OpenCL time measurements.