In this section, we will learn how CUDA code is converted into cross-platform HIP code and how to use the HIP compiler to compile the ported code. Finally, we will explore an OpenCL example by comparing it to CUDA through its documentation, so as to understand the open computing language in an easier manner.