Skip to content

Crashes with SIGILL on Sandy Bridge CPU because of F16C

Description:

I'm getting SIGILL when trying to use rocBLAS on my Xeon E5-2650L because it doesn't support F16C instructions, while rocBLAS is built with -mf16c.

Upstream fix: https://github.com/ROCm/rocBLAS/commit/c6bc09073959a2881a701b88ae1ed9de469354f1

Additional info:

Steps to reproduce:

  1. Call a rocBLAS function such as rocblas_gemm_batched_ex (I am using llama.cpp's hipBLAS backend)
  2. Program crashes with SIGILL in an unknown function (no disassembly available, even with rocblas-debug package)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information