[clang] [llvm] [Clang] Add env var for nvptx-arch/amdgpu-arch timeout (PR #102521)

Joel E. Denny via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 8 12:25:25 PDT 2024


jdenny-ornl wrote:

> Maybe we should bump the default time up? I don't know what's reasonable in this area, but the GPU drivers have a bad habit of deadlocking, so this is to prevent that.

I don't know the right value either.  If no one else is complaining, maybe 10s is fine under normal circumstances.

> I think you could document the env var in the error message itself, and `-1` should mean effectively infinite.

Sure, I'll work on that.  Maybe <=0 should be no timeout?


https://github.com/llvm/llvm-project/pull/102521


More information about the llvm-commits mailing list