@@ -21,7 +21,7 @@ This repository hosts the HIP port of [Caffe](https://github.com/BVLC/caffe) (or
2121
2222For further background information on ROCm, refer [ here] ( https://github.com/RadeonOpenCompute/ROCm/blob/master/README.md )
2323
24- Installing ROCm Debian packages:
24+ Install ROCm Debian packages:
2525
2626 PKG_REPO="http://repo.radeon.com/rocm/apt/debian/"
2727
@@ -33,6 +33,8 @@ Installing ROCm Debian packages:
3333
3434 sudo apt-get install rocm rocm-utils rocm-opencl rocm-opencl-dev rocm-profiler cxlactivitylogger
3535
36+ Next, update your paths and reboot:
37+
3638 echo 'export PATH=/opt/rocm/bin:$PATH' >> $HOME/.bashrc
3739
3840 echo 'export LD_LIBRARY_PATH=/opt/rocm/lib:$LD_LIBRARY_PATH' >> $HOME/.bashrc
@@ -47,11 +49,13 @@ Then, verify the installation. Double-check your kernel (at a minimum, you shoul
4749
4850In addition, check that you can run the simple HSA vector_copy sample application:
4951
50- cd /opt/rocm/hsa/sample
52+ pushd /opt/rocm/hsa/sample
5153
5254 make
5355
5456 ./vector_copy
57+
58+ popd
5559
5660### Pre-requisites Installation ###
5761
@@ -73,6 +77,10 @@ Install Caffe dependencies:
7377 libopencv-dev \
7478 libfftw3-dev \
7579 libelf-dev
80+
81+ Install some misc development dependencies:
82+
83+ sudo apt-get install git wget
7684
7785Install the necessary ROCm compute libraries:
7886
@@ -174,6 +182,8 @@ In short, here's the temporary workaround:
174182export HCC_UNPINNED_COPY_MODE=2
175183```
176184
185+ Please note that we have a long-term solution -- using a new RNG lib -- that we'll be pushing out soon.
186+
177187
178188## Tutorials
179189
0 commit comments