Skip to content

Commit

Permalink
Clean
Browse files Browse the repository at this point in the history
  • Loading branch information
hlinsen committed Feb 9, 2021
1 parent 3a2f729 commit 905aa9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/traversal/tsp_solver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -399,12 +399,12 @@ __global__ __launch_bounds__(2048, 2) void search_solution(int *mylock,
else
knn_init(posx, posy, vtx_ptr, neighbors, buf, path, px, py, nstart, nodes, K);
__syncthreads();
times[0 * threads + threadIdx.x] = clock64() - start;
times[threadIdx.x] = clock64() - start;

start = clock64();
hill_climbing(px, py, buf, path, shbuf, nodes, climbs);
__syncthreads();
times[1 * threads + threadIdx.x + 1] = clock64() - start;
times[threads + threadIdx.x + 1] = clock64() - start;

start = clock64();
get_optimal_tour(mylock, best_tour, px, py, path, shbuf, nodes);
Expand Down

0 comments on commit 905aa9c

Please sign in to comment.