OpenMP® Forum

Discussion on the OpenMP specification run by the OpenMP ARB. OpenMP and the OpenMP logo are registered trademarks of the OpenMP Architecture Review Board in the United States and other countries. All rights reserved.

Hello Guys, I need your Help to Understand -I write Programm that use two Thread for Computation using openMP. The Size of my shared Buffer is 20 and each core need to work on 10 Element on the shared Buffervoid main(){

Are you sure you are formatting the output correctly inside addelements()? Please can you post the source code for the addelements() function (and please could you use [code][/code] tags to make the code easier to read )