Let's Put the Memory Model Front and Center When Teaching Parallel Programming in C plus

被引:0
|
作者
Dokulil, Jiri [1 ]
机构
[1] Univ Vienna, Fac Comp Sci, Vienna, Austria
基金
奥地利科学基金会;
关键词
education; parallel computing; memory models;
D O I
10.1109/IPDPSW52791.2021.00057
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
When teaching parallel programming in C++, the memory model is often treated as an afterthought. Even if it is included in the lectures, it may only be covered as an isolated topic near the end of the whole course. We have reorganized the Parallel Computing course at the University of Vienna to make the memory model an integral part of the course, starting from the very first lecture. Being aware of the memory model and understanding its basic principles helps the students better comprehend parallel programming in C++, even when the memory model is only discussed informally. In the paper, we describe how we integrated the memory model into the course. Based on test results, assignments, and feedback from the students, we consider this approach to be successful.
引用
收藏
页码:315 / 320
页数:6
相关论文
共 3 条
  • [1] The NAS Parallel Benchmarks for evaluating C plus plus parallel programming frameworks on shared-memory architectures
    Loff, Junior
    Griebler, Dalvan
    Mencagli, Gabriele
    Araujo, Gabriell
    Torquati, Massimo
    Danelutto, Marco
    Fernandes, Luiz Gustavo
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2021, 125 : 743 - 757
  • [2] Teaching Scientific Computing: A Model-Centered Approach to Pipeline and Parallel Programming with C
    Dolgopolovas, Vladimiras
    Dagiene, Valentina
    Minkevicius, Saulius
    Sakalauskas, Leonidas
    SCIENTIFIC PROGRAMMING, 2015, 2015
  • [3] A Distributed Shared Memory Model and C plus plus Templated Meta-Programming Interface for the Epiphany RISC Array Processor
    Richie, David
    Ross, James
    Infantolino, Jamie
    INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE (ICCS 2017), 2017, 108 : 1093 - 1102