rewrite compute_topk in openmp and c
minor