Porting cuda example to rocm amdgpu

Hello, good evening.

May someone help to show me how to start porting this example to use amdgpu.jl?