Translating CUDA kernels to ROCm (or any other ecosystem, tbh) is going to become trivially easy with AI. Not saying that code is the only glue that Nvidia has when it comes to their ecosystem, but it’s certainly a large part of it.
Optimization is different, but that's not really a translation level task.