 output << "maxSurface2DLayered=" << deviceProperties.maxSurface2DLayered[0] << "," << deviceProperties.maxSurface2DLayered[1] << "," << deviceProperties.maxSurface2DLayered[2] << std::endl;
 output << "maxSurfaceCubemap=" << deviceProperties.maxSurfaceCubemap << std::endl;
 output << "maxSurfaceCubemapLayered=" << deviceProperties.maxSurfaceCubemapLayered[0] << "," << deviceProperties.maxSurfaceCubemapLayered[1] << std::endl;
-
-#else
-output << "Not using device, in ecuda host emulation mode." << std::endl;
-#endif
 */
 

	std::stringstream ss;
	if( try_creating_unit_string( ss, 1, x, 1073741824, "Gb" ) ) return ss.str();
	if( try_creating_unit_string( ss, 1, x, 1048576   , "Mb" ) ) return ss.str();
	if( try_creating_unit_string( ss, 1, x, 1024      , "Kb" ) ) return ss.str();
	if( try_creating_unit_string( ss, 1, x, 1073741824, "Gb" ) ) return ss.str();
	ss << x << "b";
	return ss.str();
}

	return ss.str();
}


/*
UNREPORTED PROPERTIES:
output << "maxTexture1D=" << deviceProperties.maxTexture1D << std::endl;
output << "maxTexture1DLinear=" << deviceProperties.maxTexture1DLinear << std::endl;
output << "maxTexture2D=" << deviceProperties.maxTexture2D[0] << "," << deviceProperties.maxTexture2D[1] << std::endl;
