this post was submitted on 10 Feb 2024
12 points (100.0% liked)
AMD
1139 readers
1 users here now
AMD news, hardware reviews and analysis and discussions
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This is the best summary I could come up with:
Nicolai Hähnle has been a longtime AMD open-source Linux graphics driver developer and currently is employed by them to work on their LLVM-based AMDGPU shader compiler.
On his personal blog Hähnle has written a guide for building a HIP environment from scratch.
This guide includes leveraging the upstream LLVM/Clang/LLD compiler sources, ROCm CMake files, and using the libhsa-runtime64.so library as the lowest-level host-side library of the ROCm stack.
Plus building the libamdhip64.so library as the host-side HIP API support.
The guide then shows how you can use your newly-built Clang to compile a hello world example for targeting AMD HIP and running on the GPU.
Those interested in compiling your own AMD HIP stack can learn all the details via Nicolai's how-to guide.
The original article contains 174 words, the summary contains 123 words. Saved 29%. I'm a bot and I'm open source!