xref: /llvm-project/mlir/include/mlir/Conversion/GPUToROCDL/Runtimes.h (revision e1da62910e140cf45eafec64193c813e79796f05)
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
25