Page 1 of 1

Difference between firstprivate vs. shared, performance-wise

Posted: Mon Sep 03, 2018 11:48 pm
by norouzi
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