libhipcxx documentation#
2026-10-02
3 min read time
libhipcxx is the C++ Standard Library for HIP. It provides an opt-in, incremental, heterogeneous implementation of C++ Standard Library features that work in both host and device code, along with extensions to those features and abstractions that are fundamental to the HIP C++ programming model.
libhipcxx is derived from libcudacxx and aims to support the same APIs on AMD GPUs. It is a header-only library, so there is nothing to compile or link against: you only need the headers on your include path. There is no CUDA backend for libhipcxx.
The libhipcxx public repository is located at ROCm/libhipcxx.
To contribute to the documentation, refer to Contributing to ROCm.
You can find licensing information on the Licensing page.