Move the duration config control to opencl_get_user_preferences().
Merge pull request #188 from claudioandre/bleeding-jumbo

Move the duration config control to opencl_get_user_preferences().