Frequently asked questions#
This topic provides answers to frequently asked questions from new HIP users and users familiar with NVIDIA CUDA.
HIP support#
What hardware does HIP support?#
HIP supports AMD GPUs. See prerequisites of the install guide for detailed information.
What operating systems does HIP support?#
Linux as well as Windows are supported by ROCm. The exact versions are listed in the system requirements for Supported operating systems and rocm-install-on-windows:supported-skus-win.
Note
Not all HIP runtime API functions are yet supported on Windows. A note is added to those functions’ documentation in the HIP runtime API reference.
What libraries does HIP provide?#
HIP provides key math and AI libraries. See ROCm libraries for the full list.
What CUDA features can be ported to HIP?#
The NVIDIA CUDA runtime API supported by HIP and NVIDIA CUDA driver API supported by HIP pages describe which CUDA APIs can be automatically converted to HIP equivalents. The HIP runtime API reference describes each HIP API and its limitations, if any, compared with the equivalent CUDA API.
The kernel language features are documented in the HIP C++ language extensions page.
Relation to other GPGPU frameworks#
How easy is it to port CUDA code to HIP?#
The HIPIFY tools can automatically convert almost all CUDA runtime code to HIP. Most device code needs no additional conversion because HIP and CUDA have the same signatures for math and built-in functions except for the name. Once ported to HIP, code can be optimized for AMD GPU architectures.
Additional porting might be required to deal with architecture feature queries or CUDA capabilities that HIP doesn’t support.
To better understand the syntax differences, see CUDA to HIP API Function Comparison or the HIP porting guide.