9f4a01e8a9
If you build thunk following the instructions in the thunk's README,
there is no /lib folder in the build folder. Adjust the include path,
and clean up the docs to reflect that. The header include is already
defined in the CMake file as ../../include, so we don't use
LIBHSAKMT_PATH for that linking, just the lib location
Change-Id: I73435d59adb9d01f527a28b1935086260e9d3d70
Signed-off-by: Kent Russell <kent.russell@amd.com>
[ROCm/ROCR-Runtime commit: ccd80d19ba]
20 line
733 B
Plaintext
20 line
733 B
Plaintext
1. Note on building kfdtest
|
|
|
|
To build this kfdtest application, the following libraries should be already
|
|
installed on the building machine:
|
|
libdrm libdrm_amdgpu libhsakmt
|
|
|
|
If libhsakmt is not installed, but the headers and libraries are present
|
|
locally, you can specify its directory by
|
|
export LIBHSAKMT_PATH=/path/to/libhsakmt.a
|
|
With that, CMake/make will look for the lib at LIBHSAKMT_PATH/libhsakmt.a
|
|
Note that this assumes that you will be building kfdtest from the same thunk found in ../..
|
|
|
|
2. How to run kfdtest
|
|
|
|
Just run "./run_kfdtest.sh" under the building output folder. You may need
|
|
to specify library path through:
|
|
export LD_LIBRARY_PATH=/path/to/libhsakmt.a
|
|
|
|
Note: you can use "run_kfdtest.sh -h" to see more options.
|