diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-02-21 11:20:20 -0800 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-02-21 11:20:20 -0800 |
commit | ed69cbeef00eceb15c77832967d7586bd20d6ef4 (patch) | |
tree | 83a338a7880d12203eafd5651a2f372ce5a0bfe8 /unsupported | |
parent | 96a24b05cc836072ce0fd2b50c4e94ea652bd1aa (diff) |
Added some debugging information to the test to figure out why it fails sometimes
Diffstat (limited to 'unsupported')
-rw-r--r-- | unsupported/test/cxx11_tensor_of_float16_cuda.cu | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unsupported/test/cxx11_tensor_of_float16_cuda.cu b/unsupported/test/cxx11_tensor_of_float16_cuda.cu index 7449d6f8c..98f5ad83d 100644 --- a/unsupported/test/cxx11_tensor_of_float16_cuda.cu +++ b/unsupported/test/cxx11_tensor_of_float16_cuda.cu @@ -201,6 +201,8 @@ void test_cxx11_tensor_of_float16_cuda() Eigen::GpuDevice device(&stream); if (device.majorDeviceVersion() > 5 || (device.majorDeviceVersion() == 5 && device.minorDeviceVersion() >= 3)) { + std::cout << "Running test on device with capability " << device.majorDeviceVersion() << "." << device.minorDeviceVersion() << std::endl; + CALL_SUBTEST_1(test_cuda_conversion()); CALL_SUBTEST_1(test_cuda_elementwise()); // CALL_SUBTEST_2(test_cuda_contractions()); |