📄 node64.html
字号:
<html><!DOCTYPE HTML PUBLIC "-//W3O//DTD W3 HTML 2.0//EN">
<!Converted with LaTeX2HTML 95.1 (Fri Jan 20 1995) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds >
<HEAD>
<TITLE>5.13 Summary</TITLE>
</HEAD>
<BODY>
<meta name="description" value="5.13 Summary">
<meta name="keywords" value="book">
<meta name="resource-type" value="document">
<meta name="distribution" value="global">
<P>
<BR> <HR><a href="msgs0.htm#2" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/tppmsgs/msgs0.htm#2"><img ALIGN=MIDDLE src="asm_color_tiny.gif" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/asm_color_tiny.gif" alt="[DBPP]"></a> <A NAME=tex2html2703 HREF="node63.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node63.html"><IMG ALIGN=MIDDLE ALT="previous" SRC="previous_motif.gif" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/previous_motif.gif"></A> <A NAME=tex2html2711 HREF="node65.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node65.html"><IMG ALIGN=MIDDLE ALT="next" SRC="next_motif.gif" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/next_motif.gif"></A> <A NAME=tex2html2709 HREF="node51.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node51.html"><IMG ALIGN=MIDDLE ALT="up" SRC="up_motif.gif" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/up_motif.gif"></A> <A NAME=tex2html2713 HREF="node1.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node1.html"><IMG ALIGN=MIDDLE ALT="contents" SRC="contents_motif.gif" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/contents_motif.gif"></A> <A NAME=tex2html2714 HREF="node133.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node133.html"><IMG ALIGN=MIDDLE ALT="index" SRC="index_motif.gif" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/index_motif.gif"></A> <a href="msgs0.htm#3" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/tppmsgs/msgs0.htm#3"><img ALIGN=MIDDLE src="search_motif.gif" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/search_motif.gif" alt="[Search]"></a> <BR>
<B> Next:</B> <A NAME=tex2html2712 HREF="node65.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node65.html"> Exercises</A>
<B>Up:</B> <A NAME=tex2html2710 HREF="node51.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node51.html">5 Compositional C++
</A>
<B> Previous:</B> <A NAME=tex2html2704 HREF="node63.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node63.html">5.12 Case Study: Fock Matrix Construction</A>
<BR><HR><P>
<H1><A NAME=SECTION032130000000000000000>5.13 Summary</A></H1>
<P>
In this chapter, we have learned about a programming language,
CC++
, that provides a small set of extensions to C++
for specifying
concurrency, locality, communication, and mapping. CC++
does not
support the task and channel abstractions of Part I directly, but its
constructs can be used to build libraries that provide these
abstractions. In keeping with the design methodology of
Chapter <A HREF="node14.html#chap2" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node14.html#chap2">2</A>, CC++
allows mapping decisions to be changed
independently of other aspects of a design. The performance modeling
techniques of Chapter <A HREF="node26.html#chapperf" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node26.html#chapperf">3</A> and the modular design
techniques of Chapter <A HREF="node39.html#chapmod" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node39.html#chapmod">4</A> also apply directly.
Table <A HREF="node64.html#tabccsum" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node64.html#tabccsum">5.1</A> summarizes the language constructs that have
been introduced.
<P>
The CC++
programs presented in this chapter tend to be more verbose
than the equivalent Fortran M, High Performance Fortran, or Message
Passing Interface programs to be presented in the chapters that
follow. To a greater extent than these other systems,
CC++
provides basic <em> mechanisms
</em> that can be used to
implement a variety of different parallel program structures. For
example, we must implement a channel library in order to use channels
in a CC++
program, and a processor object array library to create
arrays of processor objects. Once these libraries have been
written, however, they can be reused in many situations. This reuse is
facilitated by the object-oriented features of C++
.
<P>
<P><A NAME=7977> </A><IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img868.gif" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/img868.gif">
<BR><STRONG>Table 5.1:</STRONG> CC++
quick reference: the constructs described in this
<A NAME=8626> </A>
chapter, the section in which they are described, and programs that
illustrate their use.
<A NAME=tabccsum> </A><BR>
<P>
<P>
<BR> <HR><a href="msgs0.htm#2" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/tppmsgs/msgs0.htm#2"><img ALIGN=MIDDLE src="asm_color_tiny.gif" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/asm_color_tiny.gif" alt="[DBPP]"></a> <A NAME=tex2html2703 HREF="node63.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node63.html"><IMG ALIGN=MIDDLE ALT="previous" SRC="previous_motif.gif" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/previous_motif.gif"></A> <A NAME=tex2html2711 HREF="node65.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node65.html"><IMG ALIGN=MIDDLE ALT="next" SRC="next_motif.gif" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/next_motif.gif"></A> <A NAME=tex2html2709 HREF="node51.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node51.html"><IMG ALIGN=MIDDLE ALT="up" SRC="up_motif.gif" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/up_motif.gif"></A> <A NAME=tex2html2713 HREF="node1.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node1.html"><IMG ALIGN=MIDDLE ALT="contents" SRC="contents_motif.gif" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/contents_motif.gif"></A> <A NAME=tex2html2714 HREF="node133.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node133.html"><IMG ALIGN=MIDDLE ALT="index" SRC="index_motif.gif" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/index_motif.gif"></A> <a href="msgs0.htm#3" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/tppmsgs/msgs0.htm#3"><img ALIGN=MIDDLE src="search_motif.gif" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/search_motif.gif" alt="[Search]"></a> <BR>
<B> Next:</B> <A NAME=tex2html2712 HREF="node65.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node65.html"> Exercises</A>
<B>Up:</B> <A NAME=tex2html2710 HREF="node51.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node51.html">5 Compositional C++
</A>
<B> Previous:</B> <A NAME=tex2html2704 HREF="node63.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node63.html">5.12 Case Study: Fock Matrix Construction</A>
<BR><HR><P>
<P><ADDRESS>
<I>© Copyright 1995 by <A href="msgs0.htm#6" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/tppmsgs/msgs0.htm#6">Ian Foster</a></I>
</ADDRESS>
</BODY>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -