Skip to content

Commit 08e9178

Browse files
committed
[mlir][gpu] Add host-supports-nvptx to test gpu-lower-to-nvvm-pipeline
PR llvm#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`.
1 parent dfd5a64 commit 08e9178

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mlir/test/Dialect/GPU/test-nvvm-pipeline.mlir

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: host-supports-nvptx
12
// RUN: mlir-opt %s \
23
// RUN: | mlir-opt -gpu-lower-to-nvvm-pipeline="cubin-format=isa" \
34
// RUN: -split-input-file | FileCheck %s

0 commit comments

Comments
 (0)