◆課程內容:
1.Overview Multicore Architectures:Contemporary processor cores;Foundations of Shared Memory;Memory
hierarchy in multicore
Lab1:Realize your processor architecture and measurement;
2.Parallel Programming Model:Basics of Pthread;Synchronization Primitives;Memory Consistency
Lab2:Multicore programming by pthread
3.Development Tools of Profiling and Debugging:Defensive programming;Timing analysis;Gprof, Google Perf.
profile, Valgrind tools;Intel Vtune
Lab3:Performance analysis by gprof, Google perf profile, Valgrind
4.Optimization Strategies:Spin-locks and contention;Thread-safe data structure;Cache optimization
;Load balancing
Lab4:Optimization of multicore bvprogramming