mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-30 16:52:01 +08:00
Disable specific subtests that fail on HIP due to non-functional device side malloc/free (on HIP).
This commit is contained in:
parent
16f9a20a6f
commit
44da7a3b9d
@ -111,20 +111,26 @@ EIGEN_DECLARE_TEST(gpu_example)
|
|||||||
// Call subtests with different sized/typed inputs.
|
// Call subtests with different sized/typed inputs.
|
||||||
CALL_SUBTEST( test_add(Eigen::Vector3f()) );
|
CALL_SUBTEST( test_add(Eigen::Vector3f()) );
|
||||||
CALL_SUBTEST( test_add(Eigen::Matrix3d()) );
|
CALL_SUBTEST( test_add(Eigen::Matrix3d()) );
|
||||||
|
#if !defined(EIGEN_USE_HIP) // FIXME
|
||||||
CALL_SUBTEST( test_add(Eigen::MatrixX<int>(10, 10)) );
|
CALL_SUBTEST( test_add(Eigen::MatrixX<int>(10, 10)) );
|
||||||
|
#endif
|
||||||
|
|
||||||
CALL_SUBTEST( test_add(Eigen::Array44f()) );
|
CALL_SUBTEST( test_add(Eigen::Array44f()) );
|
||||||
|
#if !defined(EIGEN_USE_HIP)
|
||||||
CALL_SUBTEST( test_add(Eigen::ArrayXd(20)) );
|
CALL_SUBTEST( test_add(Eigen::ArrayXd(20)) );
|
||||||
CALL_SUBTEST( test_add(Eigen::ArrayXXi(13, 17)) );
|
CALL_SUBTEST( test_add(Eigen::ArrayXXi(13, 17)) );
|
||||||
|
#endif
|
||||||
|
|
||||||
CALL_SUBTEST( test_multiply(Eigen::Matrix3d(),
|
CALL_SUBTEST( test_multiply(Eigen::Matrix3d(),
|
||||||
Eigen::Matrix3d(),
|
Eigen::Matrix3d(),
|
||||||
Eigen::Matrix3d()) );
|
Eigen::Matrix3d()) );
|
||||||
|
#if !defined(EIGEN_USE_HIP)
|
||||||
CALL_SUBTEST( test_multiply(Eigen::MatrixX<int>(10, 10),
|
CALL_SUBTEST( test_multiply(Eigen::MatrixX<int>(10, 10),
|
||||||
Eigen::MatrixX<int>(10, 10),
|
Eigen::MatrixX<int>(10, 10),
|
||||||
Eigen::MatrixX<int>()) );
|
Eigen::MatrixX<int>()) );
|
||||||
CALL_SUBTEST( test_multiply(Eigen::MatrixXf(12, 1),
|
CALL_SUBTEST( test_multiply(Eigen::MatrixXf(12, 1),
|
||||||
Eigen::MatrixXf(1, 32),
|
Eigen::MatrixXf(1, 32),
|
||||||
Eigen::MatrixXf()) );
|
Eigen::MatrixXf()) );
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user