NVIDIA CUDA Installation Guide for Linux
NVIDIA CUDA is a parallel computing platform and programming model that enables dramatic increases in computing performance by harnessing the power of NVIDIA GPUs. It allows developers to use a GPU's parallel computing power for general computing tasks, rather than just rendering images and video. In order to use CUDA, you need to install the NVIDIA CUDA Toolkit on your system.
installing HIP AMD
HIP stands for "Heterogeneous-compute Interface for Portability." It is a C++ runtime API that allows developers to write code that can run on both GPUs and CPUs, regardless of the underlying hardware architecture. HIP is an open-source project developed by AMD, and it is designed to provide a portable programming interface for AMD GPUs, as well as other GPUs and CPUs.