mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-19 08:09:36 +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_SUBTEST( test_add(Eigen::Vector3f()) );
|
||||
CALL_SUBTEST( test_add(Eigen::Matrix3d()) );
|
||||
#if !defined(EIGEN_USE_HIP) // FIXME
|
||||
CALL_SUBTEST( test_add(Eigen::MatrixX<int>(10, 10)) );
|
||||
|
||||
#endif
|
||||
|
||||
CALL_SUBTEST( test_add(Eigen::Array44f()) );
|
||||
#if !defined(EIGEN_USE_HIP)
|
||||
CALL_SUBTEST( test_add(Eigen::ArrayXd(20)) );
|
||||
CALL_SUBTEST( test_add(Eigen::ArrayXXi(13, 17)) );
|
||||
|
||||
#endif
|
||||
|
||||
CALL_SUBTEST( test_multiply(Eigen::Matrix3d(),
|
||||
Eigen::Matrix3d(),
|
||||
Eigen::Matrix3d()) );
|
||||
#if !defined(EIGEN_USE_HIP)
|
||||
CALL_SUBTEST( test_multiply(Eigen::MatrixX<int>(10, 10),
|
||||
Eigen::MatrixX<int>(10, 10),
|
||||
Eigen::MatrixX<int>()) );
|
||||
CALL_SUBTEST( test_multiply(Eigen::MatrixXf(12, 1),
|
||||
Eigen::MatrixXf(1, 32),
|
||||
Eigen::MatrixXf()) );
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user