1
0
Fork 0

6.0.2 fixes, output

main
Jeff Moe 2024-02-06 10:12:32 -07:00
parent db94679a15
commit 576038d63f
6 changed files with 130 additions and 84 deletions

View File

@ -0,0 +1,6 @@
gfx000
gfx1100
gfx1100
gfx1100
gfx1100
gfx1100

View File

@ -19,3 +19,6 @@ cmake -B build -G Ninja \
ninja -C build package
sudo dpkg -i build/rocminfo_1.0.0.99999-local_amd64.deb
# XXX cruft
sudo ln -s /usr/bin/rocminfo /opt/rocm/bin/
sudo ln -s /usr/bin/rocm_agent_enumerator /opt/rocm/bin/

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tinyrocs 0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-02-06 09:09-0700\n"
"POT-Creation-Date: 2024-02-06 10:09-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n"
@ -72,25 +72,34 @@ msgid "Output with four GPUs:"
msgstr ""
#: ../../../_source/output.rst:54
msgid "rocm-bandwidth-test"
msgid "rocm_agent_enumerator"
msgstr ""
#: ../../../_source/output.rst:56
msgid "``rocm-bandwidth-test``"
msgid "``rocm_agent_enumerator``"
msgstr ""
#: ../../../_source/output.rst:62
msgid "rocm-bandwidth-test"
msgstr ""
#: ../../../_source/output.rst:64
msgid "``rocm-bandwidth-test``"
msgstr ""
#: ../../../_source/output.rst:70
msgid "``rocm-bandwidth-test -e``"
msgstr ""
#: ../../../_source/output.rst:63
#: ../../../_source/output.rst:71
msgid "Devices."
msgstr ""
#: ../../../_source/output.rst:69
#: ../../../_source/output.rst:77
msgid "rocminfo"
msgstr ""
#: ../../../_source/output.rst:71
#: ../../../_source/output.rst:79
msgid "``rocminfo``"
msgstr ""

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tinyrocs 0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-02-06 09:52-0700\n"
"POT-Creation-Date: 2024-02-06 10:06-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n"
@ -39,24 +39,23 @@ msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:11
msgid ""
"There is a bit of a chicken and egg problem with getting the libraries "
"and compilers built."
"There is a bit of a chicken and egg problem with getting the libraries and "
"compilers built."
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:14
msgid ""
"AMD's ROCm source repositories contain most of the toolchain software "
"that needs to be built. Note, there are many equivalent packages in "
"Debian's main free repository, but they are older versions than needed "
"(including in unstable sid)."
"AMD's ROCm source repositories contain most of the toolchain software that "
"needs to be built. Note, there are many equivalent packages in Debian's main "
"free repository, but they are older versions than needed (including in "
"unstable sid)."
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:19
msgid ""
"The ``amdgpu`` module is in the Linux kernel source. See \"Operating "
"System\" about building that. It is not required to use this toolchain to"
" build the kernel module. The stock Debian gcc is used for the kernel "
"module."
"System\" about building that. It is not required to use this toolchain to "
"build the kernel module. The stock Debian gcc is used for the kernel module."
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:26
@ -65,8 +64,8 @@ msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:27
msgid ""
"Starting from a \"clean slate\" Perhaps blow out all the old files and "
"start from scratch..."
"Starting from a \"clean slate\" Perhaps blow out all the old files and start "
"from scratch..."
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:39
@ -75,8 +74,8 @@ msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:40
msgid ""
"First pass of LLVM build. Doesn't include \"everything\" because it needs"
" other dependencies built with itself first."
"First pass of LLVM build. Doesn't include \"everything\" because it needs "
"other dependencies built with itself first."
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:48
@ -85,8 +84,8 @@ msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:49
msgid ""
"This just sets up the HIP headers for clr to use later, it doesn't "
"actually build anything."
"This just sets up the HIP headers for clr to use later, it doesn't actually "
"build anything."
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:57
@ -138,8 +137,8 @@ msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:98
msgid ""
"Using the deprecated device-libs repository, as it is what is used for "
"release ``6.0.2``. In later releases, this package is built under the "
"``llvm-project/amd`` directory."
"release ``6.0.2``. In later releases, this package is built under the ``llvm-"
"project/amd`` directory."
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:107
@ -152,10 +151,10 @@ msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:110
msgid ""
"This has an option for ``TARGET_DEVICES``. By default all targets are "
"built. This adds a *lot* of time to the build for devices that won't be "
"used. But if they aren't included, other packages further down the "
"toolchain may complain, so include them all for now."
"This has an option for ``TARGET_DEVICES``. By default all targets are built. "
"This adds a *lot* of time to the build for devices that won't be used. But "
"if they aren't included, other packages further down the toolchain may "
"complain, so include them all for now."
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:115
@ -163,7 +162,11 @@ msgid "List of possible targets:"
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:117
msgid "``gfx700;gfx701;gfx702;gfx801;gfx802;gfx803;gfx805;gfx810;gfx900;gfx902;gfx904;gfx906;gfx908;gfx909;gfx90a;gfx90c;gfx940;gfx941;gfx942;gfx1010;gfx1011;gfx1012;gfx1013;gfx1030;gfx1031;gfx1032;gfx1033;gfx1034;gfx1035;gfx1036;gfx1100;gfx1101;gfx1102;gfx1103``"
msgid ""
"``gfx700;gfx701;gfx702;gfx801;gfx802;gfx803;gfx805;gfx810;gfx900;gfx902;"
"gfx904;gfx906;gfx908;gfx909;gfx90a;gfx90c;gfx940;gfx941;gfx942;gfx1010;"
"gfx1011;gfx1012;gfx1013;gfx1030;gfx1031;gfx1032;gfx1033;gfx1034;gfx1035;"
"gfx1036;gfx1100;gfx1101;gfx1102;gfx1103``"
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:119
@ -172,8 +175,8 @@ msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:124
msgid ""
"For some reason, this is installing headers to ``/usr/hsa`` instead of "
"``/opt/rocm``. It is ignoring the ``PREFIX``. Workaround..."
"For some reason, this is installing headers to ``/usr/hsa`` instead of ``/"
"opt/rocm``. It is ignoring the ``PREFIX``. Workaround..."
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:129
@ -189,148 +192,155 @@ msgid "rocminfo"
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:138
msgid "Yes, ``rocminfo``"
msgid "``rocminfo``"
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:145
#: ../../../_source/toolchain-6.0.2.rst:140
msgid ""
"This ignores ``CMAKE_INSTALL_PREFIX=/opt/rocm`` and installs to ``/usr/bin`` "
"which causes other applications to fail."
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:143
msgid ""
"So cruftily add some symlinks at the end to appease these applications "
"looking in the wrong spot."
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:151
msgid "rocm-bandwidth-test"
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:146
#: ../../../_source/toolchain-6.0.2.rst:152
msgid "``rocm-bandwidth-test``."
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:153
#: ../../../_source/toolchain-6.0.2.rst:159
msgid "comgr"
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:154
#: ../../../_source/toolchain-6.0.2.rst:160
msgid "AKA ``ROCm-CompilerSupport``."
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:156
#: ../../../_source/toolchain-6.0.2.rst:162
msgid "Build ``comgr``."
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:158
#: ../../../_source/toolchain-6.0.2.rst:164
msgid ""
"This is another that in latest HEAD uses ``llvm-project/amd/`` directory,"
" but in ``6.0.2`` this isn't available. So use the ``rocm-6.0.2`` tag, "
"like the others in this build."
"This is another that in latest HEAD uses ``llvm-project/amd/`` directory, "
"but in ``6.0.2`` this isn't available. So use the ``rocm-6.0.2`` tag, like "
"the others in this build."
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:162
#: ../../../_source/toolchain-6.0.2.rst:168
msgid ""
"The first time this is built, it has a non-fatal ``hip_DIR-NOTFOUND`` in "
"cmake. This is because clr needs to be built. But clr can't be build "
"without comgr first. So build comgr, then clr, then rebuild comgr so it "
"finds the HIP directory in the second build..."
"cmake. This is because clr needs to be built. But clr can't be build without "
"comgr first. So build comgr, then clr, then rebuild comgr so it finds the "
"HIP directory in the second build..."
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:173
#: ../../../_source/toolchain-6.0.2.rst:179
msgid "clr"
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:174
#: ../../../_source/toolchain-6.0.2.rst:180
msgid "OpenCL and more."
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:176
#: ../../../_source/toolchain-6.0.2.rst:182
msgid ""
"Note HSAIL needs to be disabled or the build fails. "
"``-DROCCLR_ENABLE_HSAIL=OFF``"
"Note HSAIL needs to be disabled or the build fails. ``-"
"DROCCLR_ENABLE_HSAIL=OFF``"
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:184
#: ../../../_source/toolchain-6.0.2.rst:190
msgid "comgr Second Pass"
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:185
msgid "Re-build ``comgr`` now that clr is built, so the HIP directory is found."
#: ../../../_source/toolchain-6.0.2.rst:191
msgid ""
"Re-build ``comgr`` now that clr is built, so the HIP directory is found."
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:187
#: ../../../_source/toolchain-6.0.2.rst:193
msgid "The build commands are the same in both builds."
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:194
#: ../../../_source/toolchain-6.0.2.rst:200
msgid "rocBLAS"
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:195
#: ../../../_source/toolchain-6.0.2.rst:201
msgid "rocBLAS."
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:197
#: ../../../_source/toolchain-6.0.2.rst:203
msgid ""
"This builds for many targets, which takes forever (hours?), but only "
"``gfx1100`` is really needed."
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:203
#: ../../../_source/toolchain-6.0.2.rst:209
msgid "Other options, maybe:"
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:216
#: ../../../_source/toolchain-6.0.2.rst:220
msgid ""
"XXX ? Fortran can't be built because flang can't be built in the LLVM build "
"first pass. If LLVM is rebuilt with flang, then maybe Fortran can be enabled."
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:226
msgid "rocprim"
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:217
#: ../../../_source/toolchain-6.0.2.rst:227
msgid "``rocprim``."
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:224
#: ../../../_source/toolchain-6.0.2.rst:234
msgid "rocsparse"
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:225
#: ../../../_source/toolchain-6.0.2.rst:235
msgid "``rocsparse``."
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:232
#: ../../../_source/toolchain-6.0.2.rst:242
msgid "rocsolver"
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:233
#: ../../../_source/toolchain-6.0.2.rst:243
msgid "``rocsolver`` for hipBLAS."
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:240
#: ../../../_source/toolchain-6.0.2.rst:250
msgid "hipBLAS"
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:241
#: ../../../_source/toolchain-6.0.2.rst:251
msgid "``hipBLAS`` plz."
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:248
#: ../../../_source/toolchain-6.0.2.rst:258
msgid "LLVM Pass Two"
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:249
#: ../../../_source/toolchain-6.0.2.rst:259
msgid "XXX Skip this XXX."
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:256
#: ../../../_source/toolchain-6.0.2.rst:266
msgid "HOLD"
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:257
#: ../../../_source/toolchain-6.0.2.rst:267
msgid "Don't upgrade over these files. Debian has higher epochs."
msgstr ""
#: ../../../_source/toolchain-6.0.2.rst:259
#: ../../../_source/toolchain-6.0.2.rst:269
msgid "``apt-mark hold hipcc llvm rocm-cmake rocm-device-libs rocminfo``"
msgstr ""
#~ msgid "Note:"
#~ msgstr ""
#~ msgid ""
#~ "`` -DBUILD_FORTRAN_CLIENTS=OFF`` `` "
#~ "-DAMDGPU_TARGETS=gfx1100 \\`` `` "
#~ "-DTENSILE_GPU_ARCHS=gfx1100 \\`` `` "
#~ "-DTENSILE_USE_LLVM=ON ?`` `` "
#~ "-DTensile_COMPILER=hipcc`` `` -DBUILD_WITH_TENSILE=``"
#~ msgstr ""

View File

@ -50,6 +50,14 @@ Output with four GPUs:
.. literalinclude:: _static/_output/verify-pytorch.txt
:language: output
rocm_agent_enumerator
=====================
``rocm_agent_enumerator``
---------------------
.. literalinclude:: _static/_output/rocm-agent-enumerator.txt
:language: output
rocm-bandwidth-test
===================
``rocm-bandwidth-test``

View File

@ -135,7 +135,13 @@ hipcc built under clr. This seems better.
rocminfo
--------
Yes, ``rocminfo``
``rocminfo``
This ignores ``CMAKE_INSTALL_PREFIX=/opt/rocm`` and installs to
``/usr/bin`` which causes other applications to fail.
So cruftily add some symlinks at the end to appease these applications
looking in the wrong spot.
.. literalinclude:: _static/toolchain/rocm-6.0.2/build-rocminfo.sh
:language: bash
@ -211,6 +217,10 @@ Other options, maybe:
-DTensile_COMPILER=hipcc
-DBUILD_WITH_TENSILE=
XXX ? Fortran can't be built because flang can't be built in the
LLVM build first pass. If LLVM is rebuilt with flang, then maybe
Fortran can be enabled.
rocprim
-------