本文档中简单的包括了一些基本的OPENMP的使用,只是增加下感性认识,若想对并行计算又更深入的理解,清阅读相关的书籍和论文 this article simply shows some basic use of OPENMP,just for increasing the perceptual understanding,if you want to understand the parallel computing deeply,please read related books and papers.
使用: git clone https://github.com/aluenkinglee/parallel-learn.git gcc -fopenmp -std=c99 -O2 parallel.c -o main.out
usage: git clone https://github.com/aluenkinglee/parallel-learn.git gcc -fopenmp -std=c99 -O2 parallel.c -o main.out