xuhuisheng / rocm-build

build scripts for ROCm
Apache License 2.0
181 stars 35 forks source link

expanded `__noinline__` cannot compile anything past script 21, including script 22 in navi10 #31

Open FCLC opened 2 years ago

FCLC commented 2 years ago

Environment

Hardware description
GPU -gfx1010-rx5600xt
CPU -12700k-AVX512 pcores only
Software version
OS - popOS 22,04
ROCm - 5.2.1
Python - 5.10
Compiler gcc/g++ 12.1.x

What is the expected behavior

expect to be able to build properly

-

What actually happens

error during macro expansion

How to reproduce

building on 22.04, after having built: 00 11 12 13 14 15 16 17 18 Attempt to build 21, `navi1010/22'

-

log.txt

FCLC commented 2 years ago

relevant is this issue which supposedly fixed the issue in 5.1.3, but the problem is still present in 5.2.1

https://github.com/rocm-arch/rocm-arch/issues/780

xuhuisheng commented 1 year ago

I notice the commit of llvm for marking noinline as keyword have been merged. You can test this ROCm-5.3, Maybe it had been solved in the latest version of ROCm.