Skip to content

Revert Add host-supports-nvptx requirement to lit tests (#66102 and #66129) #66225

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// REQUIRES: host-supports-nvptx

// RUN: mlir-opt %s \
// RUN: | mlir-opt -test-lower-to-nvvm -debug-only=serialize-to-isa \
// RUN: 2>&1 | FileCheck %s
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// REQUIRES: host-supports-nvptx
//
// NOTE: this test requires gpu-sm80
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// REQUIRES: host-supports-nvptx
//
// NOTE: this test requires gpu-sm80
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// REQUIRES: host-supports-nvptx

//
// NOTE: this test requires gpu-sm80
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// REQUIRES: host-supports-nvptx

// RUN: mlir-opt %s -test-vector-warp-distribute="hoist-uniform distribute-transfer-write propagate-distribution" -canonicalize |\
// RUN: mlir-opt -test-vector-warp-distribute=rewrite-warp-ops-to-scf-if |\
// RUN: mlir-opt -lower-affine -convert-vector-to-scf -convert-scf-to-cf -convert-vector-to-llvm \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// REQUIRES: host-supports-nvptx

// Run the test cases without distributing ops to test default lowering. Run
// everything on the same thread.
// RUN: mlir-opt %s -test-vector-warp-distribute=rewrite-warp-ops-to-scf-if -canonicalize | \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// REQUIRES: host-supports-nvptx

// RUN: mlir-opt %s \
// RUN: -test-transform-dialect-interpreter \
// RUN: -test-transform-dialect-erase-schedule \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// REQUIRES: host-supports-nvptx
//
// RUN: mlir-opt %s \
// RUN: -test-transform-dialect-interpreter \
// RUN: | FileCheck %s --check-prefix=CHECK-MMA-SYNC
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// REQUIRES: host-supports-nvptx

// RUN: mlir-opt %s \
// RUN: | mlir-opt -test-lower-to-nvvm="cubin-chip=sm_70" \
// RUN: | mlir-cpu-runner \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// REQUIRES: host-supports-nvptx

// Tests memref bare pointer lowering convention both host side and kernel-side;
// this works for only statically shaped memrefs.
// Similar to the wmma-matmul-f32 but but with the memref bare pointer lowering convention.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// REQUIRES: host-supports-nvptx

// RUN: mlir-opt %s \
// RUN: | mlir-opt -test-lower-to-nvvm="cubin-chip=sm_70" \
// RUN: | mlir-cpu-runner \
Expand Down
2 changes: 0 additions & 2 deletions mlir/test/Integration/GPU/CUDA/all-reduce-and.mlir
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// REQUIRES: host-supports-nvptx

// RUN: mlir-opt %s \
// RUN: | mlir-opt -test-lower-to-nvvm \
// RUN: | mlir-cpu-runner \
Expand Down
2 changes: 0 additions & 2 deletions mlir/test/Integration/GPU/CUDA/all-reduce-max.mlir
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// REQUIRES: host-supports-nvptx

// RUN: mlir-opt %s \
// RUN: | mlir-opt -test-lower-to-nvvm \
// RUN: | mlir-cpu-runner \
Expand Down
2 changes: 0 additions & 2 deletions mlir/test/Integration/GPU/CUDA/all-reduce-min.mlir
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// REQUIRES: host-supports-nvptx

// RUN: mlir-opt %s \
// RUN: | mlir-opt -test-lower-to-nvvm \
// RUN: | mlir-cpu-runner \
Expand Down
2 changes: 0 additions & 2 deletions mlir/test/Integration/GPU/CUDA/all-reduce-op.mlir
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// REQUIRES: host-supports-nvptx

// RUN: mlir-opt %s \
// RUN: | mlir-opt -test-lower-to-nvvm \
// RUN: | mlir-cpu-runner \
Expand Down
2 changes: 0 additions & 2 deletions mlir/test/Integration/GPU/CUDA/all-reduce-or.mlir
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// REQUIRES: host-supports-nvptx

// RUN: mlir-opt %s \
// RUN: | mlir-opt -test-lower-to-nvvm \
// RUN: | mlir-cpu-runner \
Expand Down
2 changes: 0 additions & 2 deletions mlir/test/Integration/GPU/CUDA/all-reduce-region.mlir
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// REQUIRES: host-supports-nvptx

// RUN: mlir-opt %s \
// RUN: | mlir-opt -test-lower-to-nvvm \
// RUN: | mlir-cpu-runner \
Expand Down
2 changes: 0 additions & 2 deletions mlir/test/Integration/GPU/CUDA/all-reduce-xor.mlir
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// REQUIRES: host-supports-nvptx

// RUN: mlir-opt %s \
// RUN: | mlir-opt -test-lower-to-nvvm \
// RUN: | mlir-cpu-runner \
Expand Down
2 changes: 0 additions & 2 deletions mlir/test/Integration/GPU/CUDA/async.mlir
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// REQUIRES: host-supports-nvptx

// RUN: mlir-opt %s \
// RUN: | mlir-opt -gpu-kernel-outlining \
// RUN: | mlir-opt -pass-pipeline='builtin.module(gpu.module(strip-debuginfo,convert-gpu-to-nvvm),nvvm-attach-target)' \
Expand Down
2 changes: 0 additions & 2 deletions mlir/test/Integration/GPU/CUDA/gpu-to-cubin.mlir
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// REQUIRES: host-supports-nvptx

// RUN: mlir-opt %s \
// RUN: | mlir-opt -test-lower-to-nvvm \
// RUN: | mlir-cpu-runner \
Expand Down
2 changes: 0 additions & 2 deletions mlir/test/Integration/GPU/CUDA/multiple-all-reduce.mlir
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// REQUIRES: host-supports-nvptx

// RUN: mlir-opt %s \
// RUN: | mlir-opt -test-lower-to-nvvm \
// RUN: | mlir-cpu-runner \
Expand Down
2 changes: 0 additions & 2 deletions mlir/test/Integration/GPU/CUDA/printf.mlir
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// REQUIRES: host-supports-nvptx

// RUN: mlir-opt %s \
// RUN: | mlir-opt -test-lower-to-nvvm \
// RUN: | mlir-cpu-runner \
Expand Down
2 changes: 0 additions & 2 deletions mlir/test/Integration/GPU/CUDA/shuffle.mlir
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// REQUIRES: host-supports-nvptx

// RUN: mlir-opt %s \
// RUN: | mlir-opt -test-lower-to-nvvm \
// RUN: | mlir-cpu-runner \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// REQUIRES: host-supports-nvptx

// RUN: mlir-opt %s \
// RUN: -test-transform-dialect-interpreter \
// RUN: -test-transform-dialect-erase-schedule \
Expand Down
2 changes: 0 additions & 2 deletions mlir/test/Integration/GPU/CUDA/two-modules.mlir
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// REQUIRES: host-supports-nvptx

// RUN: mlir-opt %s \
// RUN: | mlir-opt -test-lower-to-nvvm \
// RUN: | mlir-cpu-runner \
Expand Down