 // device e invocar todas os kernels necessários.
 extern "C" int run(const int ne, const int nn, const float alpha, const float Rf, const float T, elementri *elements, node *nodes, float *V, bool verbose, float *bench) {
     clock_t t;
-    int k = 1, convergence;
+    int k = 1, conv, *d_conv;
     float *d_V;
     float R;
     node *d_nodes;

    CudaSafeCall(cudaMalloc(&d_elements, s_Elements));
    CudaSafeCall(cudaMalloc(&d_nodes, s_Nodes));
    CudaSafeCall(cudaMalloc(&d_V, s_V));
    // Memcpy
    CudaSafeCall(cudaMemcpy(d_elements, elements, s_Elements, cudaMemcpyHostToDevice));
    CudaSafeCall(cudaMemcpy(d_nodes, nodes, s_Nodes, cudaMemcpyHostToDevice));

    cudaFree(d_V);
    cudaFree(d_nodes);
    cudaFree(d_elements);
    cudaFree(d_conv);

    return k;
}
