Re: Building llama.cpp for AMD GPU using only Debian packages?
[Petter Reinholdtsen]
> I guess it might be a uphill struggle to get this working on my test
> machine. :/
I did a new testbuild, with this patch active:
-- rocblas-5.5.1+dfsg.orig/library/src/CMakeLists.txt
+++ rocblas-5.5.1+dfsg/library/src/CMakeLists.txt
@@ -411,7 +411,7 @@ endif()
# -fno-gpu-rdc compiler option was used with hcc, so revisit feature at some point
# GCC or hip-clang needs specific flags to turn on f16c intrinsics
-target_compile_options( rocblas PRIVATE -mf16c )
+#target_compile_options( rocblas PRIVATE -mf16c )
# Do not allow Variable Length Arrays (use unique_ptr instead)
target_compile_options( rocblas PRIVATE -Werror=vla )
Sadly this build crashed with "1307996 FAILED TESTS". Only two tests
more succeeded with no f16c. :(
--
Happy hacking
Petter Reinholdtsen
Reply to: