From 8719b9c5bc1a97e62d675c02495ed72dda6fae73 Mon Sep 17 00:00:00 2001 From: Antonio Sánchez Date: Thu, 28 May 2020 17:40:15 +0000 Subject: Disable test for 32-bit systems (e.g. ARM, i386) Both i386 and 32-bit ARM do not define __uint128_t. On most systems, if __uint128_t is defined, then so is the macro __SIZEOF_INT128__. https://stackoverflow.com/questions/18531782/how-to-know-if-uint128-t-is-defined1 --- unsupported/test/cxx11_tensor_fft.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'unsupported/test/cxx11_tensor_fft.cpp') diff --git a/unsupported/test/cxx11_tensor_fft.cpp b/unsupported/test/cxx11_tensor_fft.cpp index 641486a4a..2e1008eca 100644 --- a/unsupported/test/cxx11_tensor_fft.cpp +++ b/unsupported/test/cxx11_tensor_fft.cpp @@ -228,10 +228,10 @@ template static void test_fft_non_power_of_2_round_trip(int exponent) { int n = (1 << exponent) + 1; - Eigen::DSizes dimensions; + Eigen::DSizes dimensions; dimensions[0] = n; - const DSizes arr = dimensions; - Tensor input; + const DSizes arr = dimensions; + Tensor input; input.resize(arr); input.setRandom(); @@ -242,7 +242,7 @@ static void test_fft_non_power_of_2_round_trip(int exponent) { Tensor, 1, ColMajor> forward = input.template fft(fft); - Tensor output = + Tensor output = forward.template fft(fft); for (int i = 0; i < n; ++i) { -- cgit v1.2.3