Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
05211952
Unverified
Commit
05211952
authored
Nov 09, 2023
by
Charlie Lin
Committed by
GitHub
Nov 09, 2023
Browse files
Update README.md for GPU_TARGETS (#2423)
parent
16455a1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
README.md
README.md
+2
-2
No files found.
README.md
View file @
05211952
...
@@ -67,7 +67,7 @@ The following is a list of prerequisites for building MIGraphX.
...
@@ -67,7 +67,7 @@ The following is a list of prerequisites for building MIGraphX.
3.
Build MIGraphX source code:
3.
Build MIGraphX source code:
```bash
```bash
rbuild build -d depend -B build
rbuild build -d depend -B build
-DGPU_TARGETS=$(/opt/rocm/bin/rocminfo | grep -o -m1 'gfx.*')
```
```
Once completed, all prerequisites are in the
`depend`
folder and MIGraphX is in the
`build`
directory.
Once completed, all prerequisites are in the
`depend`
folder and MIGraphX is in the
`build`
directory.
...
@@ -106,7 +106,7 @@ the folder to `PATH`, or add the option `--prefix /usr/local` in the pip3 comman
...
@@ -106,7 +106,7 @@ the folder to `PATH`, or add the option `--prefix /usr/local` in the pip3 comman
3.
Configure CMake. If the prerequisites are installed at the default location
`/usr/local`
, use:
3.
Configure CMake. If the prerequisites are installed at the default location
`/usr/local`
, use:
```bash
```bash
CXX=/opt/rocm/llvm/bin/clang++ cmake ..
CXX=/opt/rocm/llvm/bin/clang++ cmake ..
-DGPU_TARGETS=$(/opt/rocm/bin/rocminfo | grep -o -m1 'gfx.*')
```
```
Otherwise, you need to set `-DCMAKE_PREFIX_PATH=$your_loc` to configure CMake.
Otherwise, you need to set `-DCMAKE_PREFIX_PATH=$your_loc` to configure CMake.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment