Closed azuresky01 closed 4 weeks ago
I don't recall seeing this, will investigate. Maybe it is the difference in optimization options (-O2 for make vs either nothing or -O3 for cmake, depending on whether you set CMAKE_BUILD_TYPE). Which gcc version did you use ?
I don't recall seeing this, will investigate. Maybe it is the difference in optimization options (-O2 for make vs either nothing or -O3 for cmake, depending on whether you set CMAKE_BUILD_TYPE). Which gcc version did you use ?
It seems that gcc version does not matter. For AMD R9 7940HS gcc version is 14.1.1 (Arch Linux), for Loongson 3A6000 gcc version is 13.2.0 (AOSC OS). And I just tested on Debian 12 (gcc version 12.2.0) for AMD R9 7940HS, the result is the same. I did not set CMAKE_BUILD_TYPE.
On Debian 12 I just tried different CMAKE_BUILD_TYPE with Debug, RelWithDebInfo or MinSizeRel. The 8 tests in openblas_utest_ext still failed.
Reproduced now but have not identified any differences in build options for the relevant files yet. Curiously the executable sizes for openblas_utest_ext differ considerably between the two builds, so my current assumption is that the problem mainly/only affects the test itself
Well, it had to be a dumb mistake I made in #4470 (affecting "only" 0.3.27)
Hello,
I tested current develop code of OpenBLAS on different platforms with different architectures [Loongson 3A6000 (loongarch64), AMD R9 7940HS (x86_64) ] and found the same 8 tests in openblas_utest_ext failed for cmake builds.
tested Operating system: Arch Linux, AOSC OS,...
Building commands:
Testing results on AMD R9 7940HS:
on Loongson 3A6000:
If building with
CC=gcc FC=gfortran make
, all tests in openblas_utest_ext are OK.