Merged in benoitsteiner/opencl (pull request PR-247)