[arrayfire] 250/284: Removing unneeded cudaDeviceSynchronize()

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun Feb 7 18:59:38 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 91bed334073ea413ce2633d976f0801d97a73677
Author: Pavan Yalamanchili <pavan at arrayfire.com>
Date:   Wed Jan 27 15:58:13 2016 -0500

    Removing unneeded cudaDeviceSynchronize()
---
 src/backend/cuda/copy.cu | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/backend/cuda/copy.cu b/src/backend/cuda/copy.cu
index 71893b8..df435d2 100644
--- a/src/backend/cuda/copy.cu
+++ b/src/backend/cuda/copy.cu
@@ -71,7 +71,6 @@ namespace cuda
         ARG_ASSERT(1, (in.ndims() == dims.ndims()));
         Array<outType> ret = createEmptyArray<outType>(dims);
         kernel::copy<inType, outType>(ret, in, in.ndims(), default_value, factor);
-        CUDA_CHECK(cudaDeviceSynchronize());
         return ret;
     }
 

-- 
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