[eigen] EIGEN_DONT_PARALLELIZE |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: [eigen] EIGEN_DONT_PARALLELIZE
- From: Carlos Becker <carlosbecker@xxxxxxxxx>
- Date: Mon, 26 Apr 2010 17:10:36 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=vTwEL6aO4OKu29uNAUy2sX4qwLR0CG1YwF9XJGUaTkM=; b=hg7m97+cmWpEAkp9SBzC7ac+ZNAsI6ovsj/cM2v+IYSIKAyNUs+Zu8EniE387zFprq GCp1z/Z0ixE/QegwJG8ynmdqal9G+u2aprg1wZ7Cj9aqA29WxL5dmA5LblkVPRIMyJC+ iKGJqZNfApKAJ853ry/SZ879Af537hklE4feM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=CxnvYCL9n3dsHGDvQHbOiK2N54+I0lGhDJqX0nhS7BZmZqcOUuz4cWwupZQ3pOFHOb 7Bh9eFOv3mwCAXzM0HIY8TOWWsIg2YDiJixW4u6nmMbwLS6nBXsnZytuABeoKluEPCMi HTY+2akptKeMonpaZ4E+k2I6J3R7UCLUdB1yA=
Here it goes the diff to add the EIGEN_DONT_PARALLELIZE control over Eigen support for OpenMP.
# HG changeset patch
# User Carlos Becker <carlosbecker@xxxxxxxxx>
# Date 1272294534 -7200
# Node ID d9a8f3d03d729f39187f166ce62c8f314b88e4c0
# Parent daf8286ac93e06485d01a540075eea65bfe90fc9
Added EIGEN_DONT_PARALLELIZE preprocessor directive
diff -r daf8286ac93e -r d9a8f3d03d72 Eigen/Core
--- a/Eigen/Core Mon Apr 26 00:20:20 2010 +0200
+++ b/Eigen/Core Mon Apr 26 17:08:54 2010 +0200
@@ -125,7 +125,7 @@
#endif
#endif
-#ifdef _OPENMP
+#if (defined _OPENMP) && (!defined EIGEN_DONT_PARALLELIZE)
#define EIGEN_HAS_OPENMP
#endif