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