Target AMD ROCm
AMD

https://rocm.github.io/dl.html and https://github.com/ROCm-Developer-Tools/HIP

At first glance, AMD follows closely CUDA, CuBLAS and CuDNN API. even for function names.

CudaMalloc => hipMalloc