This patch fixes failing tests after checking the return code from the
driver. This is mostly due to the ROCm libraries not being present
during most compilations. Passing -nogpuinc should allow us to compile
without it for tests that require it. Additionally, some old tests set
the architecture of Nvidia tests to sm_35 which is officially
unsupported in CUDA 12+ so it prints an error. We just increase in this
case.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks! I guess --rocm-path= can be used in some places, but -nogpulib -nogpuinc is good as well.