[arrayfire] 64/248: Reduced size of approx1 batched linear test

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Nov 17 15:53:58 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch dfsg-clean
in repository arrayfire.

commit cb68a30f24c43f2e3fac1d52687071c3ddf5ea38
Author: Shehzan Mohammed <shehzan at arrayfire.com>
Date:   Fri Sep 18 15:09:59 2015 -0400

    Reduced size of approx1 batched linear test
---
 test/approx1.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/approx1.cpp b/test/approx1.cpp
index 01bee13..7a6b66f 100644
--- a/test/approx1.cpp
+++ b/test/approx1.cpp
@@ -262,7 +262,7 @@ TEST(Approx1, CPPLinearBatch)
     if (noDoubleTests<float>()) return;
 
     af::array input = af::iota(af::dim4(10000, 20), c32);
-    af::array pos   = input.dims(0) * af::randu(562500, 20);
+    af::array pos   = input.dims(0) * af::randu(50000, 20);
 
     af::array outBatch = af::approx1(input, pos, AF_INTERP_LINEAR);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git



More information about the debian-science-commits mailing list