Skip to Main Content
Designing Scientific Applications on GPUs
book

Designing Scientific Applications on GPUs

by Raphael Couturier
November 2013
Intermediate to advanced content levelIntermediate to advanced
498 pages
17h 6m
English
Chapman and Hall/CRC
Content preview from Designing Scientific Applications on GPUs
130 Designing Scientific Applications on GPUs
// Waiting fo r an incoming messag e
10 MPI Probe (MPI ANY SOURCE, MPI ANY TAG, MPI COMM WORLD, &s t a t u s ) ;
i f ( ! F i n i s h e d ) {
switch ( s t a t u s . MPI TAG) { // Actions re lat ed to messag e type
case tagCom : // Management o f data messages
. . .
15 break ;
case tagEnd : // Management o f termination mes sages
. . .
break ;
case t a g S t a t e : // Management o f lo c a l st at e messages
20 // Actual reception o f the message
MPI Recv(& r e c v d S t a t e , 1 , MPI CHAR, s t a t u s . MPI SOURCE, t a gS t a t e ,
MPI COMM WORLD, &s t a t u s ) ;
// Updates of numbers of s t a b i l i z e d
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Introduction to Numerical Analysis and Scientific Computing

Introduction to Numerical Analysis and Scientific Computing

Nabil Nassif, Dolly Khuwayri Fayyad
Computational Electromagnetism

Computational Electromagnetism

Alain Bossavit, Isaak D. Mayergoyz

Publisher Resources

ISBN: 9781466571648