Global warming isn't caused by dumping heat into the atmosphere. It's caused (very simplified) by changing the planet's properties such that it's thermal equilibrium, the balance between sun's radiation heating it up and radiatively losing heat to space, lies higher. Mankind's waste heat (~10^12 W) is utterly miniscule compared to sun's energy delivered to earth (~10^17 W).