1# RUN: %PYTHON %s | FileCheck %s
2
3from mlir.ir import *
4import mlir.dialects.gpu
5import mlir.dialects.gpu.passes
6from mlir.passmanager import *
7
8def run(f):
9  print("\nTEST:", f.__name__)
10  f()
11
12def testGPUPass():
13  with Context() as context:
14    PassManager.parse('gpu-kernel-outlining')
15  print('SUCCESS')
16
17# CHECK-LABEL: testGPUPass
18#       CHECK: SUCCESS
19run(testGPUPass)
20