]> AND Private Git Repository - kahina_paper2.git/blobdiff - code.c
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
new
[kahina_paper2.git] / code.c
diff --git a/code.c b/code.c
index b27065314cf44b2931d375c7cb8470d1778fb86c..0059fc01a347919b9bf0c65295079e55efea39d2 100644 (file)
--- a/code.c
+++ b/code.c
@@ -77,7 +77,8 @@ cuDoubleComplex NewH_EA(int i, cuDoubleComplex *Z) {
 
 //kernels to update a root i
 __global__
 
 //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
   int i= blockIdx.x*blockDim.x+ threadIdx.x;
   if(i<size) {
     //if the root needs to be updated