intel / llvm

Intel staging area for llvm.org contribution. Home for Intel LLVM-based projects.
Other
1.23k stars 734 forks source link

Several reduction tests failing on hip_nvidia configuration #14973

Open lbushi25 opened 2 months ago

lbushi25 commented 2 months ago

Describe the bug

The tests

SYCL:: Reduction/reduction_nd_conditional.cpp
SYCL::Reduction/reduction_nd_dw.cpp
SYCL::Reduction/reduction_nd_rw.cpp
SYCL::Reduction/reduction_nd_ext_double.cpp
SYCL::Reduction/reduction_nd_ext_half.cpp
SYCL::Reduction/reduction_nd_N_queue_shortcut.cpp
SYCL::Reduction/reduction_nd_queue_shortcut.cpp
SYCL::Reduction/reduction_nd_reducer_skip.cpp
SYCL::Reduction/reduction_range_queue_shortcut.cpp
SYCL::Reduction/reduction_range_usm_dw.cpp
SYCL::Reduction/reduction_usm.cpp
SYCL::Reduction/reduction_reducer_op_eq.cpp
SYCL::Reduction/reduction_span_pack.cpp

are failing on hip_nvidia for seemingly related reasons(See the test sources). Upon resolution, please remove the XFAIL from the test sources.

To reproduce

Run the following commands on a hip_nvidia configuration.

/nfs/site/home/lbushi/sycl_workspace/llvm/build/bin/clang++ -Werror  -fsycl -fsycl-targets=spir64  /nfs/site/home/lbushi/sycl_workspace/llvm/sycl/test-e2e/Reduction/reduction_nd_conditional.cpp -o /nfs/site/home/lbushi/sycl_workspace/llvm/build/tools/sycl/test-e2e/Reduction/Output/reduction_nd_conditional.cpp.tmp.out

/nfs/site/home/lbushi/sycl_workspace/llvm/build/tools/sycl/test-e2e/Reduction/Output/reduction_nd_conditional.cpp.tmp.out

Environment

Additional context

No response

lbushi25 commented 2 months ago

I'm not aware of a hip_nvidia configuration to test this on, so if anyone is aware of one then please check if the test is still failing and if so, update the reproducer fields above. I'm adding the confirmed label so that we can have an internal tracker.