[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:17:54 PDT 2023


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

None

>From a49aeb300190a51186dab61c72a809cd1bfb5c10 Mon Sep 17 00:00:00 2001
From: Frederik Gossen <frgossen at google.com>
Date: Tue, 12 Sep 2023 15:17:24 -0400
Subject: [PATCH] Add host-supports-nvptx requirement to lit tests

---
 .../Dialect/SparseTensor/GPU/CUDA/sparse-matvec-const.mlir       | 1 +
 .../Integration/Dialect/SparseTensor/GPU/CUDA/sparse-matvec.mlir | 1 +
 2 files changed, 2 insertions(+)

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
 //



More information about the Mlir-commits mailing list