Update build instructions

[ROCm/ROCR-Runtime commit: 0a28e0a54a]
This commit is contained in:
Tim Gu
2025-02-28 20:09:23 +00:00
zatwierdzone przez Gu, Tim
rodzic 407704bf61
commit bf1a60e2f9
+8 -2
Wyświetl plik
@@ -48,7 +48,9 @@ Ensure you have the following installed:
- `libelf-dev`
- `g++`
- `libdrm-amdgpu-dev` or `libdrm-dev`
- `pkg-config`
- `rocm-core`
- `rocm-llvm-dev`
### ROCr & ROCt Build Instructions
1. **Clone this repository and cd into its root**
@@ -58,7 +60,11 @@ Ensure you have the following installed:
```
3. **Configure the build (example)**
```sh
cmake -DCMAKE_INSTALL_PREFIX=/opt/<rocm install dir>/llvm ..
cmake -DCMAKE_INSTALL_PREFIX=<rocm install dir> ..
```
e.g:
```
cmake -DCMAKE_INSTALL_PREFIX=/opt/rocm ..
```
4. **Compile the project**
```sh
@@ -163,4 +169,4 @@ Micro Devices, Inc. Other product names used in this publication are for
identification purposes only and may be trademarks of their respective
companies.
Copyright © 2014-2024 Advanced Micro Devices, Inc. All rights reserved.
Copyright © 2014-2024 Advanced Micro Devices, Inc. All rights reserved.