MLIR 24.0.0git
AllExtensions.h
Go to the documentation of this file.
1//===- AllExtensions.h - OpenACC external interfaces ------------*- 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_ALLEXTENSIONS_H
10#define MLIR_DIALECT_OPENACC_EXTENSIONS_ALLEXTENSIONS_H
11
12namespace mlir {
13class DialectRegistry;
14namespace acc {
15/// Register the standard OpenACC models for GPU, LLVM and MemRef IR. Models
16/// for MemRef and LLVM also load the dialects used by their IR builders when
17/// OpenACC is loaded. The GPU model attaches when GPU and OpenACC are loaded.
18void registerAllExtensions(DialectRegistry &registry);
19} // namespace acc
20} // namespace mlir
21
22#endif // MLIR_DIALECT_OPENACC_EXTENSIONS_ALLEXTENSIONS_H
The DialectRegistry maps a dialect namespace to a constructor for the matching dialect.
void registerAllExtensions(DialectRegistry &registry)
Register the standard OpenACC models for GPU, LLVM and MemRef IR.
Include the generated interface declarations.