From ffd97bd88eec8688d2c5c17db5219aec3b7a7727 Mon Sep 17 00:00:00 2001 From: Martijn Courteaux Date: Sun, 11 Aug 2024 10:02:57 +0200 Subject: [PATCH] Weird WebAssembly limits... --- test/correctness/fast_arctan.cpp | 2 +- test/performance/fast_arctan.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/correctness/fast_arctan.cpp b/test/correctness/fast_arctan.cpp index 5c063f133cb0..3c8bb6a3bf0c 100644 --- a/test/correctness/fast_arctan.cpp +++ b/test/correctness/fast_arctan.cpp @@ -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); } diff --git a/test/performance/fast_arctan.cpp b/test/performance/fast_arctan.cpp index c87b24f5eaa8..84e9b727a875 100644 --- a/test/performance/fast_arctan.cpp +++ b/test/performance/fast_arctan.cpp @@ -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);