Skip to content

Commit

Permalink
Weird WebAssembly limits...
Browse files Browse the repository at this point in the history
  • Loading branch information
mcourteaux committed Aug 11, 2024
1 parent 297430a commit ffd97bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/correctness/fast_arctan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ int main(int argc, char **argv) {
Var xo, xi;
Var yo, yi;
atan_f.never_partition_all();
atan_f.gpu_tile(x, xo, xi, 512, TailStrategy::ShiftInwards);
atan_f.gpu_tile(x, xo, xi, 256, TailStrategy::ShiftInwards);
} else {
atan_f.vectorize(x, 8);
}
Expand Down
4 changes: 2 additions & 2 deletions test/performance/fast_arctan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ int main(int argc, char **argv) {
atan_ref.never_partition_all();
atan2_ref.never_partition_all();

atan_f.gpu_tile(x, xo, xi, 512, TailStrategy::ShiftInwards);
atan_ref.gpu_tile(x, xo, xi, 512, TailStrategy::ShiftInwards);
atan_f.gpu_tile(x, xo, xi, 256, TailStrategy::ShiftInwards);
atan_ref.gpu_tile(x, xo, xi, 256, TailStrategy::ShiftInwards);

atan2_f.gpu_tile(x, y, xo, yo, xi, yi, 32, 16, TailStrategy::ShiftInwards);
atan2_ref.gpu_tile(x, y, xo, yo, xi, yi, 32, 16, TailStrategy::ShiftInwards);
Expand Down

0 comments on commit ffd97bd

Please sign in to comment.