From: couturie <couturie@extinction>
Date: Sat, 30 Apr 2016 08:20:28 +0000 (+0200)
Subject: new
X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/kahina_paper2.git/commitdiff_plain/684d40745670cff9d64bc62afcbbfbafe224372d?ds=sidebyside;hp=53da0ad12f861879e3977e28d32e8c9e44a5258a

new
---

diff --git a/code.c b/code.c
index b270653..0059fc0 100644
--- a/code.c
+++ b/code.c
@@ -77,7 +77,8 @@ cuDoubleComplex NewH_EA(int i, cuDoubleComplex *Z) {
 
 //kernels to update a root i
 __global__
-void Dev_EA(int i, cuDoubleComplex *Z, int size) {
+void Dev_EA(int i, cuDoubleComplex *Z, int* finished,
+	    int size) {
   int i= blockIdx.x*blockDim.x+ threadIdx.x;
   if(i<size) {
     //if the root needs to be updated
diff --git a/maj.tex b/maj.tex
index ef19009..d218adb 100644
--- a/maj.tex
+++ b/maj.tex
@@ -330,7 +330,7 @@ Copy $Z$ from GPU to CPU\;
 Listing~\ref{lst:01} shows the a simplified version of second kernel
 code (some parameters in the kernels have been simplified in order to
 increase the readability). As can be seen this
-kernel calls multiple kernels, all the kernals for complex numbers and
+kernel calls multiple kernels, all the kernels for complex numbers and
 kernels for the evaluation of a polynomial are not detailed. 
 
 \begin{footnotesize}