Need to add size to cuda double allocate