Quiz Questions How does one execute code in parallel in Paraguin?

Slides:



Advertisements
Similar presentations
Computer Science 320 Clumping in Parallel Java. Sequential vs Parallel Program Initial setup Execute the computation Clean up Initial setup Create a parallel.
Advertisements

Lecture 6 Objectives Communication Complexity Analysis Collective Operations –Reduction –Binomial Trees –Gather and Scatter Operations Review Communication.
Other Means of Executing Parallel Programs OpenMP And Paraguin 1(c) 2011 Clayton S. Ferner.
Programming with Shared Memory Introduction to OpenMP
Exploiting Domain-Specific High-level Runtime Support for Parallel Code Generation Xiaogang Li Ruoming Jin Gagan Agrawal Department of Computer and Information.
Work Replication with Parallel Region #pragma omp parallel { for ( j=0; j
1 " Teaching Parallel Design Patterns to Undergraduates in Computer Science” Panel member SIGCSE The 45 th ACM Technical Symposium on Computer Science.
Threaded Programming Lecture 4: Work sharing directives.
CSCI-455/552 Introduction to High Performance Computing Lecture 23.
3/12/2013Computer Engg, IIT(BHU)1 OpenMP-1. OpenMP is a portable, multiprocessing API for shared memory computers OpenMP is not a “language” Instead,
Using Compiler Directives Paraguin Compiler 1 © 2013 B. Wilkinson/Clayton Ferner SIGCSE 2013 Workshop 310 session2a.ppt Modification date: Jan 9, 2013.
Chun-Yuan Lin MPI-Programming training-1. Broadcast Sending same message to all processes concerned with problem. Multicast - sending same message to.
Sieve of Eratosthenes Quiz questions ITCS4145/5145, Parallel Programming Oct 24, 2013.
Current State of Japanese Economy under Negative Interest Rate and Proposed Remedies Naoyuki Yoshino Dean Asian Development Bank Institute Professor Emeritus,
Lecture 3: Compressor Refrigeration Cycle Steam Cycle (4-8)
ASTIN AFIR/ERM 2017 Colloquium
Dimensions of Quality.
The PV Cell History, Basics & Technologies
Classes will begin shortly
Locational Net Benefit Analysis Working Group
HOTEL GUESTROOMS.
Randomized Parameterized Algorithms (and de-randomizations)
RICH with sipms Dino Tahirović Queen Mary, University of London
Functions Linear Functions Systems of Equations Sequences Quadratic
Stochastic Reserve Modeling
Building Your Strategic Action Plan
Writing Instructional Objectives
CBD Work Based Assessment Practical Implications
Laith Mohammed Abbas Al-Huseini
Safety in the Kitchen 9. Safety in the Kitchen 9.
Overview of Multiple Sclerosis
Test 2 Review Outline.
Parallel Programming for Wave Equation
Introduction to OpenMP
SHARED MEMORY PROGRAMMING WITH OpenMP
Hybrid Parallel Programming with the Paraguin compiler
Pattern Parallel Programming
Sieve of Eratosthenes.
Computer Engg, IIT(BHU)
Introduction to OpenMP
Sorting Quiz questions
Paraguin Compiler Examples.
OpenMP Quiz B. Wilkinson January 22, 2016.
Sieve of Eratosthenes.
Parallel Sorting Algorithms
Parallel Graph Algorithms
Chapter 5 Structures.
Parallel Programming with MPI and OpenMP
Array Processor.
Using compiler-directed approach to create MPI code automatically
Pattern Parallel Programming
Paraguin Compiler Examples.
ITCS 4/5145 Parallel Computing, UNC-Charlotte, B
Using compiler-directed approach to create MPI code automatically
Hybrid Parallel Programming
Paraguin Compiler Communication.
Paraguin Compiler Version 2.1.
Paraguin Compiler Examples.
Paraguin Compiler Version 2.1.
Numerical Algorithms Quiz questions
CSCE569 Parallel Computing
LabVIEW.
Algorithmic Complexity
Using compiler-directed approach to create MPI code automatically
Hybrid Parallel Programming
Introduction to OpenMP
OpenMP Quiz.
Patterns Paraguin Compiler Version 2.1.
Parallel Graph Algorithms
Parallel Programming in C with MPI and OpenMP
Presentation transcript:

Quiz Questions How does one execute code in parallel in Paraguin? #pragma paraguin forall #pragma paraguin bcast a #pragma paraguin scatter a #pragma begin_parallel … #pragma end_parallel

Quiz Questions How does one execute a sequential region inside a parallel region #pragma paraguin begin_sequential … #pragma paraguin end_sequential if (__guin_rank == 0) … if (__guin_rank == 6) … #pragma begin_parallel … #pragma end_parallel

Quiz Questions What is the default chunksize for the forall pragma for a for loop with N iterations

Quiz Questions When broadcasting, scattering, or gathering an array, which of the following must a size be given? A local array An array passed as a parameter A multi-dimensional array A global array

Quiz Questions What feature(s) must the operator have to be applied to a reduction? Associative Commutative Unary and Associative Binary and Commutative

Quiz Questions What are the 4 steps in the Scatter/Gather template?

Quiz Questions What are the parameters for the Paraguin stencil pragma?

Quiz Questions What is most likely the complexity of reducing values among NP processors? O(N) O(NP) O(N/NP) O(logN) O(logNP)