From 5973bcf939be278f81b20d6250405aaaa0791b9d Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Wed, 27 Jan 2016 12:04:42 -0800 Subject: Properly specify the namespace when calling cout/endl --- unsupported/test/cxx11_tensor_contract_cuda.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'unsupported') diff --git a/unsupported/test/cxx11_tensor_contract_cuda.cpp b/unsupported/test/cxx11_tensor_contract_cuda.cpp index 035a093e6..ac447dd7b 100644 --- a/unsupported/test/cxx11_tensor_contract_cuda.cpp +++ b/unsupported/test/cxx11_tensor_contract_cuda.cpp @@ -24,7 +24,7 @@ typedef Tensor::DimensionPair DimPair; template static void test_cuda_contraction(int m_size, int k_size, int n_size) { - cout<<"Calling with ("<= 1e-4) { - cout << "mismatch detected at index " << i << ": " << t_result.data()[i] - << " vs " << t_result_gpu.data()[i] << endl; + std::cout << "mismatch detected at index " << i << ": " << t_result.data()[i] + << " vs " << t_result_gpu.data()[i] << std::endl; assert(false); } } @@ -83,7 +83,7 @@ static void test_cuda_contraction(int m_size, int k_size, int n_size) void test_cxx11_tensor_cuda() { - cout<<"Calling contraction tests"<(128, 128, 128)); CALL_SUBTEST(test_cuda_contraction(128, 128, 128)); for (int k = 32; k < 256; k++) { -- cgit v1.2.3