Skip to content

Commit

Permalink
Prevent cache threshing
Browse files Browse the repository at this point in the history
  • Loading branch information
Algy committed Sep 8, 2019
1 parent 876a74a commit 38a1a2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ namespace fslic {
clusters[k].y = clamp<DistType>(clusters[k].y, 0, H - 1);
}

int T = 2 * S;
int T = 2 * S + 32;
int cell_W = ceil_int(W, T), cell_H = ceil_int(H, T);
std::vector< std::vector<const Cluster*> > grid(cell_W * cell_H);
for (int k = 0; k < K; k++) {
Expand Down

0 comments on commit 38a1a2f

Please sign in to comment.