nbody: use GNU getopt instead of chCommandLine

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
nbody: use CPU SOA implementation as reference

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
nbody: eliminate dead references to thread pools

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
nbody: move some nbody.cu-specific bits out of nbody.h

I'm also declaring a ton of things 'static', as we don't have any reason to
export them.

The remaining exported symbols are used by the multiGPU test, which I think
could be rearchitected to not use globals.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
chTimer: remove superfluous semicolon

With -pedantic, GCC complains about it. Whatever.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
nbody: use int iterator when dealing with g_numGPUs

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
nbody.cu: eliminate a dead 'break' after 'abort'

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
nbody: use more robust warning flags in GNUmakefile

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
nbody: ensure implementations include their respective headers

If we don't include these headers, then we won't notice any forward declaration
mismatches.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
chLib/ch_conio: make function declarations static

Otherwise multiple inclusions will result in symbol collisions.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>