Download presentation
Presentation is loading. Please wait.
Published byΔορκάς Λύκος Modified over 6 years ago
1
Quiz Questions Suzaku pattern programming framework
ITCS 4/5145 Parallel Programming, UNC-Charlotte, B. Wilkinson, 2013, QuizSuzaku.ppt Nov 12, 2014
2
What is the Suzaku pattern programming framework (Version 0)?
A set of macros that enable pattern-based message- passing programs to be created without explicit MPI code. A set of routines that enable pattern-based message- passing programs to be created without explicit MPI code. A set of macros and routines that enable pattern-based message-passing programs to be created without explicit MPI code. A Japanese pattern programming toolkit. None of the other answers
3
Why is the no semicolon at the end of Suzaku macros
Why is the no semicolon at the end of Suzaku macros? Example #define MPI_START(p, rank, argc, argv) \ MPI_Init(argc, argv); \ MPI_Comm_size(MPI_COMM_WORLD, p); \ MPI_Comm_rank(MPI_COMM_WORLD, rank) No semicolon That was mistake. They need semicolons. Macros do not need semicolons. For consistency with routines. The macro in-line substitutes its code without the final semicolon and the programmer inserts the semicolon. Because macros are used as parameters in routines. None of the other answers
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.