diff options
| author | Stephan Herhut <herhut@google.com> | 2019-09-09 01:15:10 -0700 |
|---|---|---|
| committer | A. Unique TensorFlower <gardener@tensorflow.org> | 2019-09-09 01:15:47 -0700 |
| commit | 318ff019cf703ece10df791b2da8307f3248baee (patch) | |
| tree | 387d31dcd0bac1b0a4a2b800b11d7f7e47a93ffa /mlir/test/Dialect/GPU | |
| parent | 42b60d34fc3dfbad2b26568cf1cd903685df3a3e (diff) | |
| download | bcm5719-llvm-318ff019cf703ece10df791b2da8307f3248baee.tar.gz bcm5719-llvm-318ff019cf703ece10df791b2da8307f3248baee.zip | |
Addressing some late review comments on kernel inlining.
Just formatting and better lit tests, no functional change.
PiperOrigin-RevId: 267942907
Diffstat (limited to 'mlir/test/Dialect/GPU')
| -rw-r--r-- | mlir/test/Dialect/GPU/outlining.mlir | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mlir/test/Dialect/GPU/outlining.mlir b/mlir/test/Dialect/GPU/outlining.mlir index eeb09e493cb..07499a305ee 100644 --- a/mlir/test/Dialect/GPU/outlining.mlir +++ b/mlir/test/Dialect/GPU/outlining.mlir @@ -1,5 +1,6 @@ // RUN: mlir-opt -gpu-kernel-outlining -split-input-file %s | FileCheck %s +// CHECK-LABEL: func @launch() func @launch() { // CHECK: %[[ARG0:.*]] = "op"() : () -> f32 %0 = "op"() : () -> (f32) @@ -33,7 +34,8 @@ func @launch() { return } -// CHECK: func @launch_kernel(%[[ARG0:.*]]: f32, %[[ARG1:.*]]: memref<?xf32, 1>) +// CHECK-LABEL: func @launch_kernel +// CHECK-SAME: (%[[ARG0:.*]]: f32, %[[ARG1:.*]]: memref<?xf32, 1>) // CHECK-NEXT: attributes {gpu.kernel} // CHECK-NEXT: %[[BID:.*]] = "gpu.block_id"() {dimension = "x"} : () -> index // CHECK-NEXT: = "gpu.block_id"() {dimension = "y"} : () -> index |

