Issue 60937
Summary [OpenMP] invalid access when offload to amdgpu
Labels new issue
Assignees jdoerfert
Reporter ye-luo
    Use this branch https://github.com/ye-luo/miniqmc/tree/amd-invalid-access
```
mkdir build_mi250_llvm_offload_real; cd build_mi250_llvm_offload_real
cmake -DCMAKE_CXX_COMPILER=clang++ -DENABLE_OFFLOAD=ON -DOFFLOAD_TARGET=amdgcn-amdhsa -DOFFLOAD_ARCH=gfx90a ..
make -j32 check_spo_batched_reduction
./bin/check_spo_batched_reduction -n 1 -s 1 -w 2
```
Error
```
AMDGPU fatal error 1: Memory access fault by GPU 2 (agent 0x5616e63e14c0) at virtual address 0x7f9f19c55000. Reasons: Unknown (0)
Aborted
```
Please ignore the following message when using the reproducer.
```
Fail in evaluate_vgh, V error =0.294828
Fail in evaluate_vgh, G error =1.1027
```
```
clang++ -v
clang version 17.0.0 (https://github.com/llvm/llvm-project.git 3a3ab2147d7a6673c7b22bd14d8bf33ab1276d85)
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to