mini-nbody
mini-nbody copied to clipboard
A simple gravitational N-body simulation in less than 100 lines of C code, with CUDA optimizations.
Results
2
mini-nbody issues
Sort by
recently updated
recently updated
newest added
If I try to run `shmoo-cpu-nbody.sh` I get the following error: ``` % ./shmoo-cpu-nbody.sh In file included from nbody.c:4:0: timer.h: In function ‘GetTimer’: timer.h:49:3: warning: implicit declaration of function ‘timersub’;...
When compiling without `-DSHMOO`, the code refers to a variable `rate` which is never declared, resulting in `error: use of undeclared identifier 'rate'`. Either the printfs should be removed or...