nbody algorithm implementation on mic, nvidia gpu