a demo for openmp , by Jidor
this project initially created by one of my artical in GitChat. see the link page:
all examples can run by command make run
more ref, please read: https://www.openmp.org/wp-content/uploads/OpenMP-API-Specification-5.0.pdf
demo assertion of environment and dependencies.
demo parallel print out
demo if not use openmp, what will the code looks like
demo a reduce
demo ways to get thread idx
demo atomic and barrier
demo an advanced example
最后,如果有帮助,谢谢支持和推广哦~