Permalink
Browse files

changed calculation for size of result vector

  • Loading branch information...
josephnoir committed Mar 22, 2013
1 parent 50c793a commit 9bcb30807f47eb1f54126fc0d9e8a66e0be56d02
Showing with 5 additions and 5 deletions.
  1. +5 −5 cppa/opencl/actor_facade.hpp
@@ -136,11 +136,11 @@ class actor_facade<Ret(Args...)> : public actor {
for (auto s : m_global_dimensions) {
number_of_values *= s;
}
- for (auto s : m_local_dimensions) {
- if (s > 0) {
- number_of_values *= s;
- }
- }
+// for (auto s : m_local_dimensions) {
+// if (s > 0) {
+// number_of_values *= s;
+// }
+// }
}
else {
number_of_values = get<0>(*opt).size();

0 comments on commit 9bcb308

Please sign in to comment.