 
 
 __global__
-void create_sub_expr(expr_t** sub, const elina_dim_t y, const elina_dim_t x)
+void create_sub_expr(expr_t** sub, const size_t index, const elina_dim_t y, const elina_dim_t x)
 {
 
     expr_t* expr = (expr_t*) malloc(sizeof(expr_t));


        const size_t num_threads = 512;

        const dim3 num_blocks_relu(1, num_out_neurons_current_layer/512 + 1, 1);
        const dim3 num_blocks_linear(1, num_in_neurons_current_layer/512 + 1, 1);

        expr_t** aux_expr_array = fp->layers[k]->expr_array;
        expr_t** aux_maxpool_lexpr_array = fp->layers[k]->maxpool_lexpr_array;

elina_manager_t* fppoly_manager_alloc()
{
    std::cout << "This is the GPU version of fppoly!" << std::endl;
    results_calculated = false;
    output_counter = 1;
    size_t set_limit = 3*size_t(2u << 30u);
    size_t limit;

