aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2010-07-03 19:39:29 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2010-07-03 19:39:29 +0200
commit11329f49f468690e2543f074b6740f5b616f4241 (patch)
tree399c94192f8f5b6f694dcfab392b6f13fa84a04a
parentbe1fdbf3af7a5fafdab440f70646ee39a3dd9bd3 (diff)
suppress warning and add a fixme about this transpose argument
-rw-r--r--Eigen/src/Core/products/Parallelizer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Eigen/src/Core/products/Parallelizer.h b/Eigen/src/Core/products/Parallelizer.h
index f307812bf..b13c0706e 100644
--- a/Eigen/src/Core/products/Parallelizer.h
+++ b/Eigen/src/Core/products/Parallelizer.h
@@ -84,6 +84,11 @@ template<bool Condition, typename Functor, typename Index>
void ei_parallelize_gemm(const Functor& func, Index rows, Index cols, bool transpose)
{
#ifndef EIGEN_HAS_OPENMP
+ // FIXME the transpose variable is only needed to properly split
+ // the matrix product when multithreading is enabled. This is a temporary
+ // fix to support row-major destination matrices. This whole
+ // parallelizer mechanism has to be redisigned anyway.
+ EIGEN_UNUSED_VARIABLE(transpose);
func(0,rows, 0,cols);
#else