Bugzilla – Attachment 477 Details for
Bug 714
Dynamic size double matrix to matrix product problem when multithreading is on
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Forgot Password
Login:
[x]
This bugzilla service is closed. All entries have been migrated to
https://gitlab.com/libeigen/eigen
[patch]
Test case for bug 714
Bug714.patch (text/plain), 761 bytes, created by
Christoph Hertzberg
on 2014-07-15 18:30:46 UTC
(
hide
)
Description:
Test case for bug 714
Filename:
MIME Type:
Creator:
Christoph Hertzberg
Created:
2014-07-15 18:30:46 UTC
Size:
761 bytes
patch
obsolete
>diff --git a/test/product_large.cpp b/test/product_large.cpp >--- a/test/product_large.cpp >+++ b/test/product_large.cpp >@@ -56,9 +56,18 @@ void test_product_large() > MatrixXf mat2(32,32); mat2.setRandom(); > MatrixXf r1 = mat1.row(2)*mat2.transpose(); > VERIFY_IS_APPROX(r1, (mat1.row(2)*mat2.transpose()).eval()); > > MatrixXf r2 = mat1.row(2)*mat2; > VERIFY_IS_APPROX(r2, (mat1.row(2)*mat2).eval()); > } > #endif >+ >+ // Regression test for bug 714: >+#ifdef EIGEN_HAS_OPENMP >+ std::cout << "Testing OpenMP\n"; >+ omp_set_dynamic(1); >+ for(int i = 0; i < g_repeat; i++) { >+ CALL_SUBTEST_6( product(Matrix<float,Dynamic,Dynamic>(internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::random<int>(1,EIGEN_TEST_MAX_SIZE))) ); >+ } >+#endif > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 714
: 477