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

Bug#1021275: hipcc cannot find ROCm device library and HIP runtime



Control: tags -1 pending

Hi Witold,

Witold Baryluk, on 2022-10-04:
> Thanks for packaging ROCm components. But it still looks is a bit off being fully usable out of the box.
[…]
> 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.

That's true, for the moment there are still several settings
that are not completely automatic.  Cordell Bloor has introduced
a patch series in ROCm 5.2.3-1~0exp0 which should land in debian
experimental soon to address these needs.

If you stick to ROCm 5.0.0 as packaged by Debian, then you have
also the option to use environment variables ROCM_PATH, and
DEVICE_LIB_PATH; note also HIP_CLANG_PATH which is used in
early versions of hipcc reverse dependencies, set to /usr/bin.

Thank you for your interest in ROCm!

Have a nice day,  :)
-- 
Étienne Mollier <emollier@emlwks999.eu>
Fingerprint:  8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
Sent from /dev/pts/0, please excuse my verbosity.
On air: Savatage - Prelude To Madness/Hall Of The Mountain King

Attachment: signature.asc
Description: PGP signature


Reply to: