fprintf(stderr,"Error allocating %li bytes of device memory (%s). new total bytes allocated: %d\n",(long)size,cudaGetErrorString(err),_allocated_size);
#else
fprintf(stderr,"Error allocating %li bytes of device memory (%s).\n",(long)size,cudaGetErrorString(err));