[Mlir-commits] [mlir] Add host-supports-nvptx requirement to lit tests (PR #66129)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Sep 12 12:19:02 PDT 2023


llvmbot wrote:

@llvm/pr-subscribers-mlir

<details>
<summary>Changes</summary>

None
--
Full diff: https://github.com/llvm/llvm-project/pull/66129.diff

2 Files Affected:

- (modified) mlir/test/Integration/Dialect/SparseTensor/GPU/CUDA/sparse-matvec-const.mlir (+1) 
- (modified) mlir/test/Integration/Dialect/SparseTensor/GPU/CUDA/sparse-matvec.mlir (+1) 


<pre>
diff --git a/mlir/test/Integration/Dialect/SparseTensor/GPU/CUDA/sparse-matvec-const.mlir b/mlir/test/Integration/Dialect/SparseTensor/GPU/CUDA/sparse-matvec-const.mlir
index 2c09ae298e353a9..ca47de6cca27f6d 100644
--- a/mlir/test/Integration/Dialect/SparseTensor/GPU/CUDA/sparse-matvec-const.mlir
+++ b/mlir/test/Integration/Dialect/SparseTensor/GPU/CUDA/sparse-matvec-const.mlir
@@ -1,3 +1,4 @@
+// REQUIRES: host-supports-nvptx
 //
 // NOTE: this test requires gpu-sm80
 //
diff --git a/mlir/test/Integration/Dialect/SparseTensor/GPU/CUDA/sparse-matvec.mlir b/mlir/test/Integration/Dialect/SparseTensor/GPU/CUDA/sparse-matvec.mlir
index c032201b781f5ee..c5c3546cdf01694 100644
--- a/mlir/test/Integration/Dialect/SparseTensor/GPU/CUDA/sparse-matvec.mlir
+++ b/mlir/test/Integration/Dialect/SparseTensor/GPU/CUDA/sparse-matvec.mlir
@@ -1,3 +1,4 @@
+// REQUIRES: host-supports-nvptx
 //
 // NOTE: this test requires gpu-sm80
 //
</pre>

</details>

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


More information about the Mlir-commits mailing list