LLVM
20.0.0git
include
llvm
Frontend
OpenMP
OMPDeviceConstants.h
Go to the documentation of this file.
1
//===- OMPDeviceConstants.h - OpenMP device related constants ----- 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
/// \file
9
///
10
/// This file defines constans that will be used by both host and device
11
/// compilation.
12
///
13
//===----------------------------------------------------------------------===//
14
15
#ifndef LLVM_FRONTEND_OPENMP_OMPDEVICECONSTANTS_H
16
#define LLVM_FRONTEND_OPENMP_OMPDEVICECONSTANTS_H
17
18
namespace
llvm
{
19
namespace
omp {
20
21
enum
OMPTgtExecModeFlags
:
unsigned
char
{
22
OMP_TGT_EXEC_MODE_GENERIC
= 1 << 0,
23
OMP_TGT_EXEC_MODE_SPMD
= 1 << 1,
24
OMP_TGT_EXEC_MODE_GENERIC_SPMD
=
25
OMP_TGT_EXEC_MODE_GENERIC
|
OMP_TGT_EXEC_MODE_SPMD
26
};
27
28
}
// end namespace omp
29
}
// end namespace llvm
30
31
#endif
// LLVM_FRONTEND_OPENMP_OMPDEVICECONSTANTS_H
llvm::omp::OMPTgtExecModeFlags
OMPTgtExecModeFlags
Definition:
OMPDeviceConstants.h:21
llvm::omp::OMP_TGT_EXEC_MODE_SPMD
@ OMP_TGT_EXEC_MODE_SPMD
Definition:
OMPDeviceConstants.h:23
llvm::omp::OMP_TGT_EXEC_MODE_GENERIC_SPMD
@ OMP_TGT_EXEC_MODE_GENERIC_SPMD
Definition:
OMPDeviceConstants.h:24
llvm::omp::OMP_TGT_EXEC_MODE_GENERIC
@ OMP_TGT_EXEC_MODE_GENERIC
Definition:
OMPDeviceConstants.h:22
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
Generated on Fri Dec 20 2024 01:02:38 for LLVM by
1.9.6