MLIR
20.0.0git
include
mlir
Conversion
GPUCommon
AttrToSPIRVConverter.h
Go to the documentation of this file.
1
//===- AttrToSPIRVConverter.h - GPU attributes conversion to SPIR-V - 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
#ifndef MLIR_CONVERSION_GPUCOMMON_ATTRTOSPIRVCONVERTER_H_
9
#define MLIR_CONVERSION_GPUCOMMON_ATTRTOSPIRVCONVERTER_H_
10
11
#include <
mlir/Dialect/GPU/IR/GPUDialect.h
>
12
#include <
mlir/Dialect/SPIRV/IR/SPIRVEnums.h
>
13
14
namespace
mlir
{
15
spirv::StorageClass
addressSpaceToStorageClass
(gpu::AddressSpace addressSpace);
16
}
// namespace mlir
17
18
#endif
// MLIR_CONVERSION_GPUCOMMON_ATTRTOSPIRVCONVERTER_H_
GPUDialect.h
SPIRVEnums.h
mlir
Include the generated interface declarations.
Definition:
LocalAliasAnalysis.h:20
mlir::addressSpaceToStorageClass
spirv::StorageClass addressSpaceToStorageClass(gpu::AddressSpace addressSpace)
Definition:
AttrToSPIRVConverter.cpp:12
Generated on Sat Dec 21 2024 12:33:47 for MLIR by
1.9.1