Multicore Programming 101

From Open Source Ecology
Jump to: navigation, search

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.