Tested on Ubuntu 23.10 with P14s:
sudo apt install hipcc
git clone https://github.com/ROCm/HIP-Examples
cd HIP-Examples/HIP-Examples-Applications/HelloWorld
make
TODO fails with:
/bin/hipcc -g   -c -o HelloWorld.o HelloWorld.cpp
clang: error: cannot find ROCm device library for gfx1103; provide its path via '--rocm-path' or '--rocm-device-lib-path', or pass '-nogpulib' to build without ROCm device library
make: *** [<builtin>: HelloWorld.o] Error 1

Articles by others on the same topic (1)

ROCm by Wikipedia Bot 0
ROCm, which stands for Radeon Open Compute, is an open-source software platform developed by AMD (Advanced Micro Devices) for high-performance computing (HPC), machine learning, and other compute-intensive applications. ROCm is designed to enable developers to leverage AMD GPUs and accelerate compute workloads using various programming models and frameworks.