[mlir][python] Add basic python support for GPU dialect and passes

Differential Revision: https://reviews.llvm.org/D101449
diff --git a/mlir/lib/CAPI/Dialect/GPU.cpp b/mlir/lib/CAPI/Dialect/GPU.cpp
new file mode 100644
index 0000000..0de2cfa
--- /dev/null
+++ b/mlir/lib/CAPI/Dialect/GPU.cpp
@@ -0,0 +1,13 @@
+//===- GPUc.cpp - C Interface for GPU dialect ----------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "mlir-c/Dialect/GPU.h"
+#include "mlir/CAPI/Registration.h"
+#include "mlir/Dialect/GPU/GPUDialect.h"
+
+MLIR_DEFINE_CAPI_DIALECT_REGISTRATION(GPU, gpu, mlir::gpu::GPUDialect)