Skip to content

Commit

Permalink
Update solution.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Botched135 committed Jan 15, 2025
1 parent 75d967c commit 65c0258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labs/memory_bound/mem_alignment_1/solution.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// In other words, it defines how many elements are in each row.
// hint: you need to allocate dummy columns to achieve proper data alignment.
int n_columns(int N) {
constexpr int base = 64;
constexpr int base = 32;
return (N/base+1)*base;
}
// ******************************************
Expand Down

0 comments on commit 65c0258

Please sign in to comment.