Skip to content

MPI入门(2月17日)

lirui edited this page Feb 17, 2021 · 1 revision

Open MP(CPUs)

--Already have C, C++, Fortran code? OpenMP makes it relatively easily to convert specific constructs (e.g.,for loops) to use threads.

--Normally run on CPUs

pthreads, C11, or C++ 11 threads (CPUs)

--Traditional C C++,or Fortran code using threads

--Code will be portable, but is only deployed on CPUs

Clone this wiki locally