AMD has been working on GPGPU at least as long as nVidia.
AMDs "CTM" SDK was released in 2006, same year as CUDA. In 2007 they released Stream SDK. Then they had "APP SDK" for a while, which iirc coincided with their opencl phase. And now they landed on rocm.
Meanwhile nvidia has kept trucking with just CUDA.