From 5ebb333564a53a07ffbde983c4b4c355fbd0ca5e Mon Sep 17 00:00:00 2001 From: Kahina Date: Mon, 2 May 2016 08:49:59 +0200 Subject: [PATCH 1/1] Kernel testConvergence code --- code1.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 code1.c diff --git a/code1.c b/code1.c new file mode 100644 index 0000000..7291044 --- /dev/null +++ b/code1.c @@ -0,0 +1,11 @@ +//kernel to test the convergence of roots +__global__ +void TestConvergence_kernel(int size,cuDoubleComplex *Z, +cuDoubleComplex *ZPrec,double *Error) +{ int i= blockIdx.x*blockDim.x+ threadIdx.x; + +if(i