Skip to content

Conversation

@junrushao
Copy link
Member

PR #16345 introduced a TIR intrinsic tvm_thread_invariant as a no-op intrinsic that indicates that a condition is an invariant across threads. It is a necessary change to support MoE group GEMM operations.

However, we noticed that the LLVM-ROCm backend has been broken since then because this no-op intrinsic hasn't been properly handled in this particular backend. This PR fixes this behavior by checking this no-op in the LLVM backend.

CC: @spectrometerHBH @yzhliu @tqchen

PR apache#16345 introduced a TIR intrinsic `tvm_thread_invariant` as a no-op
intrinsic that indicates that a condition is an invariant across
threads. It is a necessary change to support MoE group GEMM operations.

However, we noticed that the LLVM-ROCm backend has been broken since
then because this no-op intrinsic hasn't been properly handled in this
particular backend. This PR fixes this behavior by checking this no-op
in the LLVM backend.
@junrushao
Copy link
Member Author

Superseded by #16404

@junrushao junrushao closed this Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant