mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-01 16:24:28 +08:00
Added some debugging information to the test to figure out why it fails sometimes
This commit is contained in:
parent
96a24b05cc
commit
ed69cbeef0
@ -201,6 +201,8 @@ void test_cxx11_tensor_of_float16_cuda()
|
|||||||
Eigen::GpuDevice device(&stream);
|
Eigen::GpuDevice device(&stream);
|
||||||
if (device.majorDeviceVersion() > 5 ||
|
if (device.majorDeviceVersion() > 5 ||
|
||||||
(device.majorDeviceVersion() == 5 && device.minorDeviceVersion() >= 3)) {
|
(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_conversion());
|
||||||
CALL_SUBTEST_1(test_cuda_elementwise());
|
CALL_SUBTEST_1(test_cuda_elementwise());
|
||||||
// CALL_SUBTEST_2(test_cuda_contractions());
|
// CALL_SUBTEST_2(test_cuda_contractions());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user