mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-06-28 01:28:42 -04:00
Update README.md
This commit is contained in:
parent
4383631543
commit
5ab13559e0
1 changed files with 7 additions and 11 deletions
18
README.md
18
README.md
|
@ -59,20 +59,17 @@ sudo apt-get install git
|
||||||
```
|
```
|
||||||
### Configure your build folder
|
### Configure your build folder
|
||||||
```sh
|
```sh
|
||||||
#
|
|
||||||
# By default, the toolchain default install location is the /opt folder and can be overridden by setting --tooldir.
|
|
||||||
# This is the example for volvo server
|
|
||||||
mkdir build
|
mkdir build
|
||||||
mkdir out
|
|
||||||
export OUT_DIR=`pwd`/out
|
|
||||||
cd build
|
cd build
|
||||||
# Run the following to disble virtual memory feature in compilation
|
# for 32bit
|
||||||
../configure --xlen=32 --tooldir=/software/vortex-toolchain-2024-2024-08-09 --prefix=$OUT_DIR
|
../configure --xlen=32 --tooldir=$HOME/tools
|
||||||
# Run the following instead to enable virtual memory feature in compilation
|
# for 64bit
|
||||||
../configure --xlen=32 --tooldir=/software/vortex-toolchain-2024-2024-08-09 --prefix=$OUT_DIR --vm_enable=1
|
../configure --xlen=64 --tooldir=$HOME/tools
|
||||||
```
|
```
|
||||||
### Install prebuilt toolchain
|
### Install prebuilt toolchain
|
||||||
# We will use the precomipled tools in volvo toolchanin directory
|
```sh
|
||||||
|
./ci/toolchain_install.sh --all
|
||||||
|
```
|
||||||
### set environment variables
|
### set environment variables
|
||||||
```sh
|
```sh
|
||||||
# should always run before using the toolchain!
|
# should always run before using the toolchain!
|
||||||
|
@ -82,7 +79,6 @@ sudo apt-get install git
|
||||||
```sh
|
```sh
|
||||||
make -s
|
make -s
|
||||||
```
|
```
|
||||||
|
|
||||||
### Quick demo running vecadd OpenCL kernel on 2 cores
|
### Quick demo running vecadd OpenCL kernel on 2 cores
|
||||||
```sh
|
```sh
|
||||||
./ci/blackbox.sh --cores=2 --app=vecadd
|
./ci/blackbox.sh --cores=2 --app=vecadd
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue