Skip to content

Commit 9d120bc

Browse files
committed
docs: Document how to use fio with hipfile
1 parent 68c6484 commit 9d120bc

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

docs/fio.rst

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
fio
2+
===
3+
4+
A hipfile engine has been added to the ROCm fork of fio:
5+
https://github.com/ROCm/fio/tree/hipFile
6+
7+
To build fio with hipfile support use the following: ::
8+
9+
$ cd ~
10+
$ git clone git@github.com:ROCm/hipFile.git
11+
$ mkdir hipFile/build; cd hipFile/build
12+
$ cmake .. && cmake --build . -j
13+
14+
$ cd ~
15+
$ git clone git@github.com:ROCm/fio.git
16+
$ cd fio && git checkout origin/hipFile
17+
$ HIPFILE=$HOME/hipFile \
18+
CFLAGS="-I/opt/rocm/include -I$HIPFILE/include" \
19+
LDFLAGS="-L/opt/rocm/lib -L$HIPFILE/build/src/amd_detail -Wl,-rpath,$HIPFILE/build/src/amd_detail" \
20+
./configure --enable-libhipfile
21+
$ make -j
22+
23+
Use the example workload file from the fio repository: ::
24+
25+
$ GPU_DEV_IDS=0 FIO_DIR=PATH_TO_EXT_OR_XFS_DIRECTORY ~/fio/fio ~/fio/examples/libhipfile-hipfile.fio

0 commit comments

Comments
 (0)