MLIR
20.0.0git
include
mlir
Conversion
GPUToROCDL
Runtimes.h
Go to the documentation of this file.
1
//===- Runtimes.h - Possible runtimes for AMD GPUs ---*- 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_GPUTOROCDL_RUNTIMES_H
9
#define MLIR_CONVERSION_GPUTOROCDL_RUNTIMES_H
10
11
namespace
mlir
{
12
namespace
gpu {
13
namespace
amd {
14
/// Potential runtimes for AMD GPU kernels
15
enum
Runtime
{
16
Unknown
= 0,
17
HIP
= 1,
18
OpenCL
= 2,
19
};
20
}
// end namespace amd
21
}
// end namespace gpu
22
}
// end namespace mlir
23
24
#endif
// MLIR_CONVERSION_GPUTOROCDL_RUNTIMES_H
mlir::gpu::amd::Runtime
Runtime
Potential runtimes for AMD GPU kernels.
Definition:
Runtimes.h:15
mlir::gpu::amd::Unknown
@ Unknown
Definition:
Runtimes.h:16
mlir::gpu::amd::OpenCL
@ OpenCL
Definition:
Runtimes.h:18
mlir::gpu::amd::HIP
@ HIP
Definition:
Runtimes.h:17
mlir
Include the generated interface declarations.
Definition:
LocalAliasAnalysis.h:20
Generated on Sat Nov 23 2024 08:31:45 for MLIR by
1.9.1