You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to build a C++ code for MI60 using ROCm 3.6.0 on the Corona system at LLNL and hit the following error in LLVM:
LLVM ERROR: Unsupported expression in static initializer: addrspacecast ([3 x i32] addrspace(4)* getelementptr inbounds ([1 x [3 x i32]], [1 x [3 x i32]] addrspace(4)* @_ZN7Omega_h6swap3dL11triangles_3E, i64 0, i64 0) to [3 x i32]*)
Below are instructions to reproduce the error.
Download
git clone [email protected]:SCOREC/omega_h.git
cd omega_h
git checkout clang11_hip
Create envCoronaRocm.sh with the following contents:
We are trying to build a C++ code for MI60 using ROCm 3.6.0 on the Corona system at LLNL and hit the following error in LLVM:
Below are instructions to reproduce the error.
Download
Create
envCoronaRocm.sh
with the following contents:Build for host using Clang11
Build for MI60 using hipcc
this produces the following LLVM error:
The text was updated successfully, but these errors were encountered: