clone codes from https://github.com/biotrump/openmp-test.git.
try to use openmp and opencl to speed up the learning.