Skip to content

Commit

Permalink
XFAIL amdgpu_unsafe_atomics.cpp due to b5e63cc
Browse files Browse the repository at this point in the history
b5e63cc
started to expand __builtin_amdgcn_global_atomic_fadd_
  • Loading branch information
jsji committed Sep 11, 2024
1 parent 6dea501 commit f3cf6bd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// REQUIRES: hip
// XFAIL: hip
// RUN: %clangxx -fsycl -fsycl-targets=amd_gpu_gfx906 %s -S -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK,CHECK-SAFE
// RUN: %clangxx -fsycl -fsycl-targets=amd_gpu_gfx906 %s -mllvm --amdgpu-oclc-unsafe-int-atomics=true -S -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK,CHECK-UNSAFE
// RUN: %clangxx -fsycl -fsycl-targets=amd_gpu_gfx90a %s -mllvm --amdgpu-oclc-unsafe-fp-atomics=true -mllvm --amdgpu-oclc-unsafe-int-atomics=true -S -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK,CHECK-UNSAFE-FP
Expand Down Expand Up @@ -38,4 +39,4 @@ SYCL_EXTERNAL void fpAtomicFunc(float *f, double *d) {
// CHECK-UNSAFE-FP: llvm.amdgcn.global.atomic.fadd.f64
// CHECK-UNSAFE-FP-NOT: cmpxchg
// CHECK: __CLANG_OFFLOAD_BUNDLE____END__ sycl-amdgcn-amd-amdhsa-
}
}

0 comments on commit f3cf6bd

Please sign in to comment.