fix thread offset + stride check
authorSzilard Pall <pszilard@cbr.su.se>
Mon, 27 May 2013 17:07:30 +0000 (19:07 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Thu, 30 May 2013 08:22:18 +0000 (10:22 +0200)
commit7c08c485a9b878f7a63ce916e6b5cbb4597cbff6
tree3508125521c5aad74b86e65a7d4da1d743270778
parent714b43e235bf3ca67ebbe73bf5d267e1bf352b7b
fix thread offset + stride check

This commit fixes the check which makes sure that the combination of
thread offset and stride does not cause pinning beyond the last hardware
thread.

Additionally, also improved pinning-related warnings and notes.

Change-Id: Ia33610cacb7526dca2ff69491aac2973c7333022
src/gmxlib/gmx_thread_affinity.c