summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2014-06-07 16:03:38 -0400
committerErik Schnetter <schnetter@gmail.com>2014-06-07 16:03:38 -0400
commit4c9561634d496e8b7d9c6b0580482b41ec13c611 (patch)
tree677f33668f6d293392b25f57b00c910ac620bbea
parentfb18dfd0e58e2b8e84bdb991541475c5e530b7b0 (diff)
downloadvecmathlib-4c9561634d496e8b7d9c6b0580482b41ec13c611.zip
vecmathlib-4c9561634d496e8b7d9c6b0580482b41ec13c611.tar.gz
Do not accidentally disable builtin vectors' barrier function
-rw-r--r--vec_builtin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vec_builtin.h b/vec_builtin.h
index e6cde58..d1afca7 100644
--- a/vec_builtin.h
+++ b/vec_builtin.h
@@ -335,8 +335,8 @@ namespace vecmathlib {
}
return name_.c_str();
}
- void barrier() { volatile vector_t x __attribute__((__unused__)) = v; }
#endif
+ void barrier() { volatile vector_t x __attribute__((__unused__)) = v; }
typedef boolbuiltinvec<real_t, size> boolvec_t;
typedef intbuiltinvec<real_t, size> intvec_t;
OpenPOWER on IntegriCloud