rocminfo
parent
27acc05996
commit
10fd779527
|
@ -5,6 +5,14 @@ rm -rf rocBLAS
|
||||||
cp -a git/rocBLAS .
|
cp -a git/rocBLAS .
|
||||||
cd rocBLAS/
|
cd rocBLAS/
|
||||||
rm -rf build
|
rm -rf build
|
||||||
|
|
||||||
|
deactivate
|
||||||
|
rm -rf venv
|
||||||
|
virtualenv venv
|
||||||
|
source venv/bin/activate
|
||||||
|
pip install -U setuptools pip wheel
|
||||||
|
pip install -r deps/requirements.txt
|
||||||
|
|
||||||
cmake -B build -G Ninja \
|
cmake -B build -G Ninja \
|
||||||
-DCLR_BUILD_HIP=ON \
|
-DCLR_BUILD_HIP=ON \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
@ -23,8 +31,7 @@ cmake -B build -G Ninja \
|
||||||
-DCLR_BUILD_HIP=ON \
|
-DCLR_BUILD_HIP=ON \
|
||||||
-DCMAKE_C_COMPILER=clang \
|
-DCMAKE_C_COMPILER=clang \
|
||||||
-DCMAKE_CXX_COMPILER=clang++ \
|
-DCMAKE_CXX_COMPILER=clang++ \
|
||||||
-DCLR_BUILD_HIP=ON \
|
-DCLR_BUILD_HIP=ON
|
||||||
|
|
||||||
|
|
||||||
ninja -C build package
|
ninja -C build package
|
||||||
|
|
||||||
|
@ -34,3 +41,10 @@ exit
|
||||||
# cmake runs this:
|
# cmake runs this:
|
||||||
# Running command git clone --filter=blob:none --quiet https://github.com/ROCmSoftwarePlatform/Tensile.git /tmp/pip-req-build-3h2yovh4
|
# Running command git clone --filter=blob:none --quiet https://github.com/ROCmSoftwarePlatform/Tensile.git /tmp/pip-req-build-3h2yovh4
|
||||||
|
|
||||||
|
sh: 1: /opt/rocm/llvm/bin/clang: not found
|
||||||
|
Can't exec "/opt/rocm/bin/rocm_agent_enumerator": No such file or directory at /opt/rocm/bin//hipcc.pl line 484.
|
||||||
|
Use of uninitialized value $targetsStr in substitution (s///) at /opt/rocm/bin//hipcc.pl line 485.
|
||||||
|
Use of uninitialized value $targetsStr in split at /opt/rocm/bin//hipcc.pl line 491.
|
||||||
|
sh: 1: /opt/rocm/llvm/bin/clang: not found
|
||||||
|
Tensile::WARNING: Error: hipcc running --version Command '['hipcc', '--version']' returned non-zero exit status 127.
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
rm -rf rocminfo
|
||||||
|
# git clone https://github.com/ROCm/rocminfo
|
||||||
|
cp -a git/rocminfo .
|
||||||
|
|
||||||
|
cd rocminfo/
|
||||||
|
# git checkout XXX
|
||||||
|
rm -rf build
|
||||||
|
cmake -B build -G Ninja \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/opt/rocm \
|
||||||
|
-DCPACK_BINARY_DEB=ON \
|
||||||
|
-DCPACK_BINARY_STGZ=OFF \
|
||||||
|
-DCPACK_BINARY_TGZ=OFF \
|
||||||
|
-DCPACK_BINARY_TZ=OFF \
|
||||||
|
-DCPACK_SOURCE_TBZ2=OFF \
|
||||||
|
-DCPACK_SOURCE_TGZ=OFF \
|
||||||
|
-DCPACK_SOURCE_TZ=OFF \
|
||||||
|
-DCPACK_GENERATOR=DEB \
|
||||||
|
|
||||||
|
ninja -C build package
|
||||||
|
sudo dpkg -i build/rocminfo_1.0.0.99999-local_amd64.deb
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: tinyrocs 0\n"
|
"Project-Id-Version: tinyrocs 0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2024-01-28 18:10-0700\n"
|
"POT-Creation-Date: 2024-01-28 19:11-0700\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language: en\n"
|
"Language: en\n"
|
||||||
|
@ -82,6 +82,7 @@ msgid "``amd/comgr`` --- Code Object Manager."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/toolchain-head.rst:57
|
#: ../../../_source/toolchain-head.rst:57
|
||||||
|
#: ../../../_source/toolchain-head.rst:115
|
||||||
msgid "hipcc"
|
msgid "hipcc"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -89,54 +90,86 @@ msgstr ""
|
||||||
msgid "Build ``hipcc``."
|
msgid "Build ``hipcc``."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/toolchain-head.rst:66
|
#: ../../../_source/toolchain-head.rst:60
|
||||||
msgid "clr"
|
msgid "XXX This is better below using ``clr`` repo. XXX ?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/toolchain-head.rst:67
|
#: ../../../_source/toolchain-head.rst:67
|
||||||
msgid "clr..."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../../../_source/toolchain-head.rst:74
|
|
||||||
msgid "device-libs"
|
msgid "device-libs"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/toolchain-head.rst:75
|
#: ../../../_source/toolchain-head.rst:68
|
||||||
msgid "Build ``device-libs``."
|
msgid "Build ``device-libs``."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/toolchain-head.rst:77
|
#: ../../../_source/toolchain-head.rst:70
|
||||||
msgid "Fails with clang target error..."
|
msgid "Fails with clang target error..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/toolchain-head.rst:84
|
#: ../../../_source/toolchain-head.rst:77
|
||||||
msgid "roct-thunk-interface"
|
msgid "roct-thunk-interface"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/toolchain-head.rst:85
|
#: ../../../_source/toolchain-head.rst:78
|
||||||
msgid "Build ``roct-thunk-interface``."
|
msgid "Build ``roct-thunk-interface``."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/toolchain-head.rst:93
|
#: ../../../_source/toolchain-head.rst:86
|
||||||
msgid "rocr-runtime"
|
msgid "rocr-runtime"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/toolchain-head.rst:94
|
#: ../../../_source/toolchain-head.rst:87
|
||||||
msgid ""
|
msgid ""
|
||||||
"Build ``rocr-runtime``. Needs hsakmtConfig.cmake from ROCT-Thunk-Interface "
|
"Build ``rocr-runtime``. Needs hsakmtConfig.cmake from ROCT-Thunk-Interface "
|
||||||
"first."
|
"first."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/toolchain-head.rst:103
|
#: ../../../_source/toolchain-head.rst:96
|
||||||
msgid "comgr"
|
msgid "comgr"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/toolchain-head.rst:104
|
#: ../../../_source/toolchain-head.rst:97
|
||||||
msgid "Build ``comgr``."
|
msgid "Build ``comgr``."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/toolchain-head.rst:106
|
#: ../../../_source/toolchain-head.rst:99
|
||||||
msgid ""
|
msgid ""
|
||||||
"Needs AMD device-libs built first. Needs hsa-runtime64Config.cmake first "
|
"Needs AMD device-libs built first. Needs hsa-runtime64Config.cmake first "
|
||||||
"from ROCR-Runtime"
|
"from ROCR-Runtime"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../../../_source/toolchain-head.rst:107
|
||||||
|
msgid "clr"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../../../_source/toolchain-head.rst:108
|
||||||
|
msgid "clr..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../../../_source/toolchain-head.rst:116
|
||||||
|
msgid "hipcc built under clr. This seems better."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../../../_source/toolchain-head.rst:123
|
||||||
|
msgid "rocminfo"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../../../_source/toolchain-head.rst:124
|
||||||
|
msgid "Yes, ``rocminfo``"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../../../_source/toolchain-head.rst:131
|
||||||
|
msgid "rocBLAS"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../../../_source/toolchain-head.rst:132
|
||||||
|
msgid "Needed before hipBLAS."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../../../_source/toolchain-head.rst:134
|
||||||
|
msgid "Install rocminfo first."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../../../_source/toolchain-head.rst:136
|
||||||
|
msgid "Fails due to no msgpackConfig.cmake"
|
||||||
|
msgstr ""
|
||||||
|
|
|
@ -43,7 +43,7 @@ Install dependencies from Debian repositories.
|
||||||
portaudio19-dev python3-argcomplete python3-pip python3-pygments \
|
portaudio19-dev python3-argcomplete python3-pip python3-pygments \
|
||||||
python3-venv python3-virtualenv python3-yaml quilt rsync rsyslog sshfs \
|
python3-venv python3-virtualenv python3-yaml quilt rsync rsyslog sshfs \
|
||||||
sudo swig traceroute vim xxd doxygen python3-sphinx git-lfs \
|
sudo swig traceroute vim xxd doxygen python3-sphinx git-lfs \
|
||||||
lua5.3 liblua5.3-dev libmpfr-dev
|
lua5.3 liblua5.3-dev libmpfr-dev libmsgpack-dev
|
||||||
|
|
||||||
# Packages like this aren't used from Debian's repository.
|
# Packages like this aren't used from Debian's repository.
|
||||||
# Make sure they are gone.
|
# Make sure they are gone.
|
||||||
|
|
|
@ -118,3 +118,22 @@ hipcc built under clr. This seems better.
|
||||||
.. literalinclude:: _static/scripts/rocm-head/build-clr-hipcc.sh
|
.. literalinclude:: _static/scripts/rocm-head/build-clr-hipcc.sh
|
||||||
:language: bash
|
:language: bash
|
||||||
|
|
||||||
|
|
||||||
|
rocminfo
|
||||||
|
^^^^^^^^
|
||||||
|
Yes, ``rocminfo``
|
||||||
|
|
||||||
|
.. literalinclude:: _static/scripts/rocm-head/build-rocminfo.sh
|
||||||
|
:language: bash
|
||||||
|
|
||||||
|
|
||||||
|
rocBLAS
|
||||||
|
^^^^^^^
|
||||||
|
Needed before hipBLAS.
|
||||||
|
|
||||||
|
Install rocminfo first.
|
||||||
|
|
||||||
|
Fails due to no msgpackConfig.cmake
|
||||||
|
|
||||||
|
.. literalinclude:: _static/scripts/rocm-head/build-rocblas.sh
|
||||||
|
:language: bash
|
||||||
|
|
Loading…
Reference in New Issue