-
Notifications
You must be signed in to change notification settings - Fork 796
Open
Labels
bugSomething isn't workingSomething isn't workinghipIssues related to execution on HIP backend.Issues related to execution on HIP backend.
Description
Describe the bug
FAIL: SYCL :: check_device_code/hip/atomic/amdgpu_unsafe_atomics.cpp (233 of 972)
******************** TEST 'SYCL :: check_device_code/hip/atomic/amdgpu_unsafe_atomics.cpp' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/__w/llvm/llvm/build/bin/clang --driver-mode=g++ -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx90a -fsycl -fsycl-targets=amdgcn-amd-amdhsa /__w/llvm/llvm/src/sycl/test/check_device_code/hip/atomic/amdgpu_unsafe_atomics.cpp -S -emit-llvm -o - | FileCheck /__w/llvm/llvm/src/sycl/test/check_device_code/hip/atomic/amdgpu_unsafe_atomics.cpp --check-prefixes=CHECK,CHECK-SAFE
# executed command: /__w/llvm/llvm/build/bin/clang --driver-mode=g++ -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx90a -fsycl -fsycl-targets=amdgcn-amd-amdhsa /__w/llvm/llvm/src/sycl/test/check_device_code/hip/atomic/amdgpu_unsafe_atomics.cpp -S -emit-llvm -o -
# note: command had no output on stdout or stderr
# executed command: FileCheck /__w/llvm/llvm/src/sycl/test/check_device_code/hip/atomic/amdgpu_unsafe_atomics.cpp --check-prefixes=CHECK,CHECK-SAFE
# .---command stderr------------
# | /__w/llvm/llvm/src/sycl/test/check_device_code/hip/atomic/amdgpu_unsafe_atomics.cpp:16:21: error: CHECK-SAFE-NOT: excluded string found in input
# | // CHECK-SAFE-NOT: atomicrmw
# | ^
# | <stdin>:44:7: note: found here
# | %2 = atomicrmw fadd ptr addrspace(1) %0, float 1.000000e+00 syncscope("agent") monotonic, align 4, !amdgpu.no.fine.grained.memory !10, !amdgpu.no.remote.memory !10
# | ^~~~~~~~~
# |
# | Input file: <stdin>
# | Check file: /__w/llvm/llvm/src/sycl/test/check_device_code/hip/atomic/amdgpu_unsafe_atomics.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 39: ret void
# | 40: }
# | 41:
# | 42: ; Function Attrs: mustprogress nofree norecurse nounwind willreturn memory(argmem: readwrite)
# | 43: define internal fastcc void @_Z21__spirv_AtomicFAddEXTPU3AS1fiif(ptr addrspace(1) noundef captures(none) %0) unnamed_addr #2 {
# | 44: %2 = atomicrmw fadd ptr addrspace(1) %0, float 1.000000e+00 syncscope("agent") monotonic, align 4, !amdgpu.no.fine.grained.memory !10, !amdgpu.no.remote.memory !10
# | not:16 !~~~~~~~~ error: no match expected
# | 45: ret void
# | 46: }
# | 47:
# | 48: ; Function Attrs: nofree norecurse nounwind memory(argmem: readwrite)
# | 49: define internal fastcc void @_Z21__spirv_AtomicFAddEXTPU3AS1diid(ptr addrspace(1) noundef captures(none) %0) unnamed_addr #1 !sycl_used_aspects !15 {
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
To reproduce
- Include code snippet as short as possible
- Specify the command which should be used to compile the program
- Specify the command which should be used to launch the program
- Indicate what is wrong and what was expected
Environment
- OS: [e.g Windows/Linux]
- Target device and vendor: [e.g. AMD GPU]
- DPC++ version: [e.g. commit hash or output of
clang++ --version] - Dependencies version: [e.g. the output of
rocm-smiandsycl-ls --verbose]
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghipIssues related to execution on HIP backend.Issues related to execution on HIP backend.