LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Search Forums
User Name
Password

Notices


Showing results 1 to 2 of 2
Search took 0.01 seconds.
Search: Posts Made By: EdGr
Forum: Programming 02-13-2024, 09:19 PM
Replies: 16
Views: 386
Posted By EdGr
The v1 array is being indexed twice - once in the...

The v1 array is being indexed twice - once in the caller and again in the callee (as object). You need to index it once.

The buggy code works only for id==0.

Does the real program have the...
Forum: Programming 02-03-2024, 12:33 PM
Replies: 16
Views: 386
Posted By EdGr
The test program fails on my machine with gcc...

The test program fails on my machine with gcc 13.2.0. The behavior is not deterministic. Some runs end in segfaults. There is some race problem.

I use pthreads and can't help much with OpenMP....
Showing results 1 to 2 of 2

 

Didn't find what you're looking for? Try Google:


  



All times are GMT -5. The time now is 12:51 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration