A
lgorithmique
N
umérique
D
istribuée
Private GIT Repository
projects
/
kahina_paper2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
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