General OpenMP discussion
i have programs written in c and using posix threads with mutex for a single core processor, if i want to now switch from single to multicore what kind of changes in the code i need and do i actually need OPENMP as i have used mutexs and other synchronization.
It sounds as if the code has already been written for use on multiple cores. Normally you don't use threads and mutex locks when you are running on a single core machine, because you aren't going to see any speedup.
- Posts: 1025
- Joined: Wed Jan 16, 2008 7:21 am
Return to Using OpenMP
Who is online
Users browsing this forum: Exabot [Bot], Google [Bot], Yahoo [Bot] and 5 guests