Skip to content

Commit

Permalink
sort big ilp nl to get the same results
Browse files Browse the repository at this point in the history
  • Loading branch information
BBBuZHIDAO committed Jan 7, 2025
1 parent 24b42f8 commit 6410e40
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/force/neighbor.cu
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,10 @@ void find_neighbor_ilp(
const int MN = NL.size() / NN.size();
gpu_sort_neighbor_list_ilp<<<N, min(1024, MN), MN * sizeof(int)>>>(N, NN.data(), NL.data());
GPU_CHECK_KERNEL

const int big_ilp_MN = big_ilp_NL.size() / big_ilp_NN.size();
gpu_sort_neighbor_list<<<N, big_ilp_MN, big_ilp_MN * sizeof(int)>>>(N, big_ilp_NN.data(), big_ilp_NL.data());
GPU_CHECK_KERNEL
}

static __global__ void gpu_find_neighbor_ON1_SW(
Expand Down

0 comments on commit 6410e40

Please sign in to comment.