[Mlir-commits] [mlir] [mlir][gpu] Add host-supports-nvptx to test gpu-lower-to-nvvm-pipeline (PR #80155)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Jan 31 08:11:15 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir
Author: Guray Ozen (grypp)
<details>
<summary>Changes</summary>
PR #<!-- -->78556 added a new mlir test with gpu-lower-to-nvvm-pipeline that checks the generated PTX. However, it causes a problem on host without cuda support.
This PR adds `REQUIRES: host-supports-nvptx`.
---
Full diff: https://github.com/llvm/llvm-project/pull/80155.diff
1 Files Affected:
- (modified) mlir/test/Dialect/GPU/test-nvvm-pipeline.mlir (+1)
``````````diff
diff --git a/mlir/test/Dialect/GPU/test-nvvm-pipeline.mlir b/mlir/test/Dialect/GPU/test-nvvm-pipeline.mlir
index fde99ab105d68..70587592a3efa 100644
--- a/mlir/test/Dialect/GPU/test-nvvm-pipeline.mlir
+++ b/mlir/test/Dialect/GPU/test-nvvm-pipeline.mlir
@@ -1,3 +1,4 @@
+// REQUIRES: host-supports-nvptx
// RUN: mlir-opt %s \
// RUN: | mlir-opt -gpu-lower-to-nvvm-pipeline="cubin-format=isa" \
// RUN: -split-input-file | FileCheck %s
``````````
</details>
https://github.com/llvm/llvm-project/pull/80155
More information about the Mlir-commits
mailing list