Multicore Programming 101: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
(Created page with "http://www.csd.uwo.ca/~moreno/CS433-CS9624/Lectures/1.pdf")
 
No edit summary
 
Line 1: Line 1:
http://www.csd.uwo.ca/~moreno/CS433-CS9624/Lectures/1.pdf
http://www.csd.uwo.ca/~moreno/CS433-CS9624/Lectures/1.pdf
*For multithreading, there are 4 implementations in software: Pthreads where programmer has to manage threads (errorprone) (C), Threading Building Blocks in C++ (TBB) runs on top of native threads - programmers manage tasks, not threads; OpenMP runs on top of native threads as linguistic extensions of C, C++, and FORTRAN; and Cilk++ from MIT (http://supertech.csail.mit.edu/cilk/) acquired as Cilk++ by Intel - where Cilk can run on Linux laptop networks to many computers in parallel.

Latest revision as of 15:18, 1 May 2019

http://www.csd.uwo.ca/~moreno/CS433-CS9624/Lectures/1.pdf

  • For multithreading, there are 4 implementations in software: Pthreads where programmer has to manage threads (errorprone) (C), Threading Building Blocks in C++ (TBB) runs on top of native threads - programmers manage tasks, not threads; OpenMP runs on top of native threads as linguistic extensions of C, C++, and FORTRAN; and Cilk++ from MIT (http://supertech.csail.mit.edu/cilk/) acquired as Cilk++ by Intel - where Cilk can run on Linux laptop networks to many computers in parallel.