Open Beanavil opened 1 month ago
Thanks for the detailed report! @alex-t is taking a look
The change was an attempt to redesign the whole control flow lowering in the AMDGPU backend. Further, I found a simpler and cleaner way to solve the problem that the change originated from. The culprit commit is going to be reverted and for sure won't go to the next release. So, it doesn't make sense to investigate the exact reason and make any changes to it now.
Problem Description
One of rocThrust's tests for the scan algorithm is failing right after the ROCm 6.2.1 release. During debugging, it was noticed that modifying the addition operator of the
FixedVector
type used in the test like so:fixes the test.
Further investigation tracked the origin of the issue to this particular commit. Manually building this repo checked out at said commit and compiling with the
clang++
executable generated reproduces the issue, while checking out to a previous commit and repeating the same process yields a successful execution.This test failure is confirmed to happen on Vega20 (gfx906), MI100 (gfx908), V620 (gfx1030), and rx7900xtx (gfx1100).
Operating System
Ubuntu 20.04.6 LTS
CPU
AMD EPYC 7713P 64-Core Processor
GPU
AMD Instinct MI100
ROCm Version
ROCm 6.2.0
ROCm Component
llvm-project
Steps to Reproduce
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response