From 024fa0b78b4b887766b537ee8f8b28f32730985c Mon Sep 17 00:00:00 2001 From: Aditya Atluri Date: Tue, 29 Mar 2016 14:23:41 -0500 Subject: [PATCH] Update README.md [ROCm/hip commit: 1991fb5c922f887daf510a18880c3aa803adc1e8] --- projects/hip/README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/projects/hip/README.md b/projects/hip/README.md index 31c286636a..10d0e31288 100644 --- a/projects/hip/README.md +++ b/projects/hip/README.md @@ -15,11 +15,14 @@ New projects can be developed directly in the portable HIP C++ language and can cd HIP-privatestaging mkdir build cd build -cmake -DHSA_DIR=/path/to/hsa -DHCC_DIR=/path/to/hcc -DHIP_INSTALL_DIR=/where/to/install/hip .. +cmake -DHSA_DIR=/path/to/hsa -DHCC_DIR=/path/to/hcc -DHIP_INSTALL_DIR=/where/to/install/hip -DCMAKE_BUILD_TYPE=Release .. make make install ``` -Make sure HIP_PATH is pointed to `/opt/hip` and PATH includes `$HIP_PATH/bin` +Make sure HIP_PATH is pointed to `/where/to/install/hip` and PATH includes `$HIP_PATH/bin`. This requirement is optional, but required to run any HIP test infrastructure. + +The Release build installs HIP inside `/where/to/install/hip`. The Debug build will install inside HIP repo directory by adding a `./lib` directory containing `libhip_hcc.a` + ## More Info: - [HIP FAQ](docs/markdown/hip_faq.md)