[arrayfire] 12/284: Add eval to copyData
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Sun Feb 7 18:59:13 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/experimental
in repository arrayfire.
commit 413eea8f8c4abe6850b561c59ebe1e1a0f361a6f
Author: Umar Arshad <umar at arrayfire.com>
Date: Mon Sep 21 16:53:06 2015 -0400
Add eval to copyData
---
src/backend/cpu/copy.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/backend/cpu/copy.cpp b/src/backend/cpu/copy.cpp
index 58773af..3be201b 100644
--- a/src/backend/cpu/copy.cpp
+++ b/src/backend/cpu/copy.cpp
@@ -48,6 +48,7 @@ namespace cpu
template<typename T>
void copyData(T *to, const Array<T> &from)
{
+ evalArray(from);
getQueue().sync();
if(from.isOwner()) {
// FIXME: Check for errors / exceptions
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git
More information about the debian-science-commits
mailing list