[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 Tue, 04 Oct 2022 21:21:36 +0000
with message-id <E1ofpM8-00AOMp-Ov@fasolo.debian.org>
and subject line Bug#1021275: fixed in rocm-hipamd 5.2.3-1~0exp0
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~0exp0
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: Tue, 04 Oct 2022 22:00:05 +0200
Source: rocm-hipamd
Architecture: source
Version: 5.2.3-1~0exp0
Distribution: experimental
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~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:
 08c378475053029edd969780311d5620ae035d15 3288 rocm-hipamd_5.2.3-1~0exp0.dsc
 d335b1113548d8ce4075bd9c262d5e5a0bfd8e6b 622291 rocm-hipamd_5.2.3.orig-clr.tar.gz
 821d5844e20b3b3ddcb46b9478a29fcd18f2808a 1049547 rocm-hipamd_5.2.3.orig-hip.tar.gz
 bde044baa5e7023aa93d6eaeb4ea9210c2f6fa29 1006686 rocm-hipamd_5.2.3.orig-opencl.tar.gz
 2c476b06d12fdb511bd33facf9ad8f1b5980817c 362375 rocm-hipamd_5.2.3.orig.tar.gz
 5458fc20a4a52bd282e972984248dea9787ad9ad 15992 rocm-hipamd_5.2.3-1~0exp0.debian.tar.xz
Checksums-Sha256:
 86c5edbb5dccd99420d25793a4b6c6793dc10dd00015e4d3be61e3df13df12da 3288 rocm-hipamd_5.2.3-1~0exp0.dsc
 0493c414d4db1af8e1eb30a651d9512044644244488ebb13478c2138a7612998 622291 rocm-hipamd_5.2.3.orig-clr.tar.gz
 5b83d1513ea4003bfad5fe8fa741434104e3e49a87e1d7fad49e5a8c1d06e57b 1049547 rocm-hipamd_5.2.3.orig-hip.tar.gz
 932ea3cd268410010c0830d977a30ef9c14b8c37617d3572a062b5d4595e2b94 1006686 rocm-hipamd_5.2.3.orig-opencl.tar.gz
 5031d07554ce07620e24e44d482cbc269fa972e3e35377e935d2694061ff7c04 362375 rocm-hipamd_5.2.3.orig.tar.gz
 1e6ad5493a56e6eed4e4fab3506dcfaf3f38f62dd0e28419694c054fbe9e86d0 15992 rocm-hipamd_5.2.3-1~0exp0.debian.tar.xz
Files:
 ab971d3b3bfabedbd7d789dfbac7597a 3288 devel optional rocm-hipamd_5.2.3-1~0exp0.dsc
 a80f6dba90ba8b1861c5a99af9b99b91 622291 devel optional rocm-hipamd_5.2.3.orig-clr.tar.gz
 d62df37d04384cf579081468ea01b90a 1049547 devel optional rocm-hipamd_5.2.3.orig-hip.tar.gz
 72908a2efd5ecb63bce3c28775f0c203 1006686 devel optional rocm-hipamd_5.2.3.orig-opencl.tar.gz
 f84ced90c4ce2d3bdd003d87140c65d8 362375 devel optional rocm-hipamd_5.2.3.orig.tar.gz
 26ba3f5ee59e424ce05a42e927e33bf3 15992 devel optional rocm-hipamd_5.2.3-1~0exp0.debian.tar.xz

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

iQJIBAEBCgAyFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmM8na8UHGVtb2xsaWVy
QGRlYmlhbi5vcmcACgkQeTz2fo8NEdpE9A//WzW3cpmo7nJ+F4sqkO3D/avy/V9c
EKFpLlEpxQm2oLhr3kXSZvBZ1MbN0hkwODURLSzhfL3z74snMzhUeqmOewKyCFz2
W8VwsbHdfhiZVmMDyLy35BkYiGh49dKl9cBZYV4r8Ha4c6Zi8ccQnOTsqf9vmCBq
7cafwiW/EKO8R8lVedPcC+TrfH2ML0iudFIng/XvsbsehGVLNwapdO5Vqq+Olu2q
jTdcIgjTCkfh0u9odSbNBBb70j5CEAaZJwqnnh7jr8Em0AbNTdpd+NFWWWtKnlUo
WuMdSWsb5ZEM4QIX57DWuYnxOiJJp3GxVJdjwyFn58eM75NGe7+F1TEisICRwbGA
5f4mDx5U7+vX+FSjEEclVfDyCb3K59JYnE0VzIH1rqEvFHVwSioRZVOJitXvmEgl
wMKUXiWMK7A2bHpqfnj/0J1SwKu/94HZVqHpbgHE7sk/AiEEENynUFIhD0hL/eod
0wEqcqPrS4xZGZox2QlC45GaW3luVzLeycf+wXMoYfjLJOOlEiUWnCSGBk4resHc
ZIDgLFLf1bE+osfGL8jByEclkN8rgW205u7DWcAfCpoMgLA3Qha0dYJ8orHTE9Qm
80UrU0Xd7zLEjzdsaMtny2/jdDAhrocy40OWQpg/QW3/P63t48sPajb4I7D38TR2
AtTlzDMH1djS3WQ=
=5seF
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: