MLIR 24.0.0git
GPUInterfaces.h
Go to the documentation of this file.
1//===- GPUInterfaces.h - OpenACC external models ----------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef MLIR_DIALECT_OPENACC_EXTENSIONS_GPUINTERFACES_H
10#define MLIR_DIALECT_OPENACC_EXTENSIONS_GPUINTERFACES_H
11
12namespace mlir {
13class DialectRegistry;
14namespace acc {
15/// Register OpenACC interfaces for GPU IR. This does not load dialects.
16void registerGPUInterfaces(DialectRegistry &registry);
17} // namespace acc
18} // namespace mlir
19
20#endif // MLIR_DIALECT_OPENACC_EXTENSIONS_GPUINTERFACES_H
The DialectRegistry maps a dialect namespace to a constructor for the matching dialect.
void registerGPUInterfaces(DialectRegistry &registry)
Register OpenACC interfaces for GPU IR. This does not load dialects.
Include the generated interface declarations.