adding nbody sources

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
nbody_CPU_*_tiled.c: work around Clang OpenMP bugs

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
nbody.cu: eliminate dead kbhit code, fix indentation

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
nbody.cu: tickle OpenMP before starting measured workloads

Thread creation takes a while, there's no sense measuring it. Once we get
OpenMP invoked once, subsequent re-uses of the same thread pools are cheap. So
let's make OpenMP do something simple, like invoke a ton of tasks, and then get
the thread count.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
nbody.cu: add freeArrays function

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