Difference between firstprivate vs. shared, performance-wise

Use this forum to discuss the book: Using OpenMP - Portable Shared Memory Parallel Programming, by Barbara Chapman, Gabriele Jost and Ruud van der Pas Read the viewtopic.php?f=8&t=465 for book info and to download the examples. Post your feedback about the book and examples to this forum

Difference between firstprivate vs. shared, performance-wise

Postby norouzi » Mon Sep 03, 2018 11:48 pm

Hi,

I have read in the book "Using OpenMP: Portable Shared Memory Parallel Programming" that firstprivate is more efficient than shared for readonly variables in ccNUMA architectures (pp. 76).

Could you please help me understand the reason?

Thank you and Best,
Mohammad
norouzi
 
Posts: 1
Joined: Mon Aug 27, 2018 12:40 am

Return to Using OpenMP - The Book and Examples

Who is online

Users browsing this forum: No registered users and 1 guest

cron