From 3080e403a64a24938033614b0df74ac1ef0ecabe Mon Sep 17 00:00:00 2001 From: Nikolaj Hinnerskov Date: Thu, 12 Oct 2023 10:42:06 +0200 Subject: [PATCH] Test compiled only; interpreter does not support AD. --- tests/ad/reducebyindexvecmin0.fut | 34 +++++++++++++++---------------- tests/ad/reducebyindexvecmul0.fut | 34 +++++++++++++++---------------- 2 files changed, 34 insertions(+), 34 deletions(-) diff --git a/tests/ad/reducebyindexvecmin0.fut b/tests/ad/reducebyindexvecmin0.fut index ab972a26f9..b03a95e682 100644 --- a/tests/ad/reducebyindexvecmin0.fut +++ b/tests/ad/reducebyindexvecmin0.fut @@ -1,22 +1,22 @@ -- == -- entry: vecmin --- input { [5i64, 3i64, 2i64, 4i64, 3i64, 3i64, 4i64, 2i64, 2i64, 3i64] --- [[8i32, 5i32, -2i32, 4i32, 6i32], --- [12i32, 8i32, 7i32, 2i32, 6i32], --- [3i32, 9i32, -2i32, 11i32, 1i32], --- [7i32, 3i32, 12i32, 7i32, 10i32], --- [9i32, 12i32, 4i32, 1i32, 8i32], --- [7i32, -1i32, 11i32, 6i32, 10i32], --- [-2i32, 6i32, 7i32, 1i32, 12i32], --- [8i32, 0i32, 9i32, 6i32, 7i32], --- [7i32, 3i32, 6i32, 7i32, 8i32], --- [1i32, 4i32, 2i32, 9i32, 9i32]] --- [[2i32, 2i32, 2i32, 2i32, 4i32], --- [2i32, 1i32, 3i32, 3i32, 1i32], --- [2i32, 5i32, 2i32, 4i32, 5i32], --- [1i32, 2i32, 1i32, 1i32, 4i32], --- [5i32, 1i32, 4i32, 4i32, 5i32], --- [4i32, 1i32, 4i32, 5i32, 3i32]] } +-- compiled input { [5i64, 3i64, 2i64, 4i64, 3i64, 3i64, 4i64, 2i64, 2i64, 3i64] +-- [[8i32, 5i32, -2i32, 4i32, 6i32], +-- [12i32, 8i32, 7i32, 2i32, 6i32], +-- [3i32, 9i32, -2i32, 11i32, 1i32], +-- [7i32, 3i32, 12i32, 7i32, 10i32], +-- [9i32, 12i32, 4i32, 1i32, 8i32], +-- [7i32, -1i32, 11i32, 6i32, 10i32], +-- [-2i32, 6i32, 7i32, 1i32, 12i32], +-- [8i32, 0i32, 9i32, 6i32, 7i32], +-- [7i32, 3i32, 6i32, 7i32, 8i32], +-- [1i32, 4i32, 2i32, 9i32, 9i32]] +-- [[2i32, 2i32, 2i32, 2i32, 4i32], +-- [2i32, 1i32, 3i32, 3i32, 1i32], +-- [2i32, 5i32, 2i32, 4i32, 5i32], +-- [1i32, 2i32, 1i32, 1i32, 4i32], +-- [5i32, 1i32, 4i32, 4i32, 5i32], +-- [4i32, 1i32, 4i32, 5i32, 3i32]] } -- output { [[4i32, 1i32, 4i32, 5i32, 3i32], -- [0i32, 0i32, 0i32, 0i32, 4i32], -- [2i32, 0i32, 2i32, 0i32, 5i32], diff --git a/tests/ad/reducebyindexvecmul0.fut b/tests/ad/reducebyindexvecmul0.fut index 39558c6f96..f93a779e64 100644 --- a/tests/ad/reducebyindexvecmul0.fut +++ b/tests/ad/reducebyindexvecmul0.fut @@ -1,22 +1,22 @@ -- == -- entry: vecmul --- input { [5i64, 3i64, 2i64, 4i64, 3i64, 3i64, 4i64, 2i64, 2i64, 3i64] --- [[8i32, 5i32, -2i32, 4i32, 6i32], --- [12i32, 8i32, 7i32, 2i32, 6i32], --- [3i32, 9i32, -2i32, 11i32, 1i32], --- [7i32, 3i32, 12i32, 7i32, 10i32], --- [9i32, 12i32, 4i32, 1i32, 8i32], --- [7i32, -1i32, 11i32, 6i32, 10i32], --- [-2i32, 6i32, 7i32, 1i32, 12i32], --- [8i32, 0i32, 9i32, 6i32, 7i32], --- [7i32, 3i32, 6i32, 7i32, 8i32], --- [1i32, 4i32, 2i32, 9i32, 9i32]] --- [[2i32, 2i32, 2i32, 2i32, 4i32], --- [2i32, 1i32, 3i32, 3i32, 1i32], --- [2i32, 5i32, 2i32, 4i32, 5i32], --- [1i32, 2i32, 1i32, 1i32, 4i32], --- [5i32, 1i32, 4i32, 4i32, 5i32], --- [4i32, 1i32, 4i32, 5i32, 3i32]] } +-- compiled input { [5i64, 3i64, 2i64, 4i64, 3i64, 3i64, 4i64, 2i64, 2i64, 3i64] +-- [[8i32, 5i32, -2i32, 4i32, 6i32], +-- [12i32, 8i32, 7i32, 2i32, 6i32], +-- [3i32, 9i32, -2i32, 11i32, 1i32], +-- [7i32, 3i32, 12i32, 7i32, 10i32], +-- [9i32, 12i32, 4i32, 1i32, 8i32], +-- [7i32, -1i32, 11i32, 6i32, 10i32], +-- [-2i32, 6i32, 7i32, 1i32, 12i32], +-- [8i32, 0i32, 9i32, 6i32, 7i32], +-- [7i32, 3i32, 6i32, 7i32, 8i32], +-- [1i32, 4i32, 2i32, 9i32, 9i32]] +-- [[2i32, 2i32, 2i32, 2i32, 4i32], +-- [2i32, 1i32, 3i32, 3i32, 1i32], +-- [2i32, 5i32, 2i32, 4i32, 5i32], +-- [1i32, 2i32, 1i32, 1i32, 4i32], +-- [5i32, 1i32, 4i32, 4i32, 5i32], +-- [4i32, 1i32, 4i32, 5i32, 3i32]] } -- output { [[4i32, 1i32, 4i32, 5i32, 3i32], -- [63i32, -96i32, 88i32, 54i32, 2880i32], -- [112i32, 0i32, 108i32, 168i32, 280i32],