[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1021275: marked as done (hipcc cannot find ROCm device library and HIP runtime)



Your message dated Thu, 20 Oct 2022 22:37:12 +0000
with message-id <E1oleA4-004R6C-Gd@fasolo.debian.org>
and subject line Bug#1021275: fixed in rocm-hipamd 5.2.3-1
has caused the Debian Bug report #1021275,
regarding hipcc cannot find ROCm device library and HIP runtime
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1021275: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021275
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: hipcc
Version: 5.0.0-1
Severity: normal
X-Debbugs-Cc: witold.baryluk@gmail.com

Thanks for packaging ROCm components. But it still looks is a bit off being fully usable out of the box.

user@debian:~/s$ wget -nv https://raw.githubusercontent.com/ROCm-Developer-Tools/HIP/develop/samples/2_Cookbook/0_MatrixTranspose/MatrixTranspose.cpp
2022-10-04 19:41:01 URL:https://raw.githubusercontent.com/ROCm-Developer-Tools/HIP/develop/samples/2_Cookbook/0_MatrixTranspose/MatrixTranspose.cpp [3860/3860] -> "MatrixTranspose.cpp" [1]
user@debian:~/s$ hipcc MatrixTranspose.cpp
clang: error: cannot find ROCm device library; provide its path via '--rocm-path' or '--rocm-device-lib-path', or pass '-nogpulib' to build without ROCm device library
clang: error: cannot find HIP runtime; provide its path via '--rocm-path', or pass '-nogpuinc' to build without HIP runtime
clang: error: cannot find HIP runtime; provide its path via '--rocm-path', or pass '-nogpuinc' to build without HIP runtime
user@debian:~/s$ 


I managed to compile it using

hipcc --rocm-path=/ --rocm-device-lib-path=/usr/lib/x86_64-linux-gnu/amdgcn/bitcode MatrixTranspose.cpp

but it took some time to figure out, and is not nice putting these paths
directly in makefiles, and such.

(Also resulting binary segfault:
Device name �C�xU
Segmentation fault
)

but that is another story.

Regards,
Witold

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.0.0-rc5 (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_UNSIGNED_MODULE, TAINT_SOFTLOCKUP
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages hipcc depends on:
ii  clang-14            1:14.0.6-2
ii  clang-tools-14      1:14.0.6-2
ii  libamdhip64-dev     5.0.0-1
ii  libfile-which-perl  1.27-1
ii  liburi-encode-perl  1.1.1-2
ii  lld-14              1:14.0.6-2
ii  rocm-device-libs    5.1.0-1

hipcc recommends no packages.

hipcc suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: rocm-hipamd
Source-Version: 5.2.3-1
Done: Étienne Mollier <emollier@debian.org>

We believe that the bug you reported is fixed in the latest version of
rocm-hipamd, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1021275@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Étienne Mollier <emollier@debian.org> (supplier of updated rocm-hipamd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 20 Oct 2022 21:20:33 +0200
Source: rocm-hipamd
Architecture: source
Version: 5.2.3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Deep Learning Team <debian-ai@lists.debian.org>
Changed-By: Étienne Mollier <emollier@debian.org>
Closes: 1021275
Changes:
 rocm-hipamd (5.2.3-1) unstable; urgency=medium
 .
   * Migrate ROCm 5.2.3 to unstable.
   * d/control: build depends on ROCm 5.2.
 .
 rocm-hipamd (5.2.3-1~0exp1) experimental; urgency=medium
 .
   * d/control: append numerous missing llvm 15 experimental packages.
 .
 rocm-hipamd (5.2.3-1~0exp0) experimental; urgency=medium
 .
   [ Étienne Mollier ]
   * New upstream version
   * Add salsa-ci file (routine-update)
   * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
     Repository-Browse.
   * Refresh or unfuzz multiple patches with the new upstream version.
   * 0002-orthograph-patch-for-rocclr.patch: remove; applied upstream.
   * 0008-dotdots.patch: refresh; half the patch applied upstream.
   * 0012-typo.patch: forward upstream.
   * d/{rules,not-installed}: declare files not installed instead of running rm
     (yet keep `rm bin/.hipVersion` around).
   * d/{libamdhip64-dev.install,not-installed}: sort missing files.
   * d/control: bump build-dependency to llvm 15 to fix various ftbfs.
   * 0013-hipcc-hip-version.patch: refer to a newly open bug on the topic.
   * 0005-clang-14.patch: update and rename to 0005-clang-15.patch following
     llvm 15 version bump.
   * d/libamdhip64-5.symbols: append new symbols.
 .
   [ Cordell Bloor ]
   * 0005-clang-15.patch: use version-agnostic checks
   * Add 0015-default-hip-clang-path.patch
   * Add 0016-default-device-lib-path.patch
   * Add 0017-default-rocm-path.patch
   * Add 0018-rocm-path-flag.patch
     Closes: #1021275
 .
   [ Étienne Mollier ]
   * d/salsa-ci.yml: don't trigger i386 tests.
   * d/control: add patchelf as build-dependency.
   * d/rules: cleanup rpath in libhiprtc-builtins.so.
Checksums-Sha1:
 26f3fce6d9c8c6305292bd699e00983b0f06e11a 3515 rocm-hipamd_5.2.3-1.dsc
 1aa5956a4110565433e451001e763652cd6b841e 16092 rocm-hipamd_5.2.3-1.debian.tar.xz
Checksums-Sha256:
 aee0620521b8d1168d71059d52afe33630cc8c4605e0ef96a27ef935b782be4c 3515 rocm-hipamd_5.2.3-1.dsc
 5b443e90a3b39549492f25ca0b3a1a8a2fa82a5f3951c69ffacd9920c191940a 16092 rocm-hipamd_5.2.3-1.debian.tar.xz
Files:
 532dd1b7df5b515484b39a264a0522d2 3515 devel optional rocm-hipamd_5.2.3-1.dsc
 d3d14cd9ed6cbadfd2e7896530803245 16092 devel optional rocm-hipamd_5.2.3-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmNRvXcUHGVtb2xsaWVy
QGRlYmlhbi5vcmcACgkQeTz2fo8NEdpUhg/9E2i0PJBax/3qw2iou+RZPmmsSuAG
lU0ijCPMa03lwekF5g/VwOXhAL82IdjJViUU2roH8gqsYMsCMiMaAP2Y4TVMXUvE
mT9UIx666K+HgB6lk0pxKt9qfTQK+0vmqnIw75XEBqLb1wXfJ1X0NMQ7+ZgS7STF
MrlN6oM71C61WduhhzcvKJ8VQswTlhLkCuzgDQxdIEsOmitYjONG7jfIxmhn4kLH
nKHmf+xC0ZREavzkrSutRGrSDx4LVqlUe1JSD/0ey2RZihY4m1qo7zuUg5RSZHMf
d7K0R8hM0NSPBybcg+2XovkY6lYwpYO0bl0R6O5T6OcQPhDZ3S3tRJaBWpLG8Nd6
HhBDEJP5CZWxg9N2Hf+TH6FTNQrZKXdiTVbf5Iw88IZYKzOTBS1l/VRqtnZR5pav
JuXohCgIguU+O5fSGWwPpIob9yruNQt4yzIXAZ4dFZNslKOAPDQOeg3Crfsu1JFq
gW1C9cQFI+eYlyiiUHqwARN5cU50yKZwrH7lgAnNkqsSNFsnyjd7VMUo0dqn0rlp
M+seVOwHKuGAUQuYfJqqOYef1OrGi1TFDwqxLQxkqzpzKJEPMK8nVaJO1qMpqOMj
RCYMcXTUIVBZsw52eLC5Vog83xAWOiqllNKPMOMk8k82gaP/9lCC1UUyFwKjui97
Q625k/ACrgdjE8A=
=f7IH
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: