|
|
|||
File indexing completed on 2026-05-10 08:43:55
0001 //===- OMPDeviceConstants.h - OpenMP device related constants ----- C++ -*-===// 0002 // 0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 0004 // See https://llvm.org/LICENSE.txt for license information. 0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 0006 // 0007 //===----------------------------------------------------------------------===// 0008 /// \file 0009 /// 0010 /// This file defines constans that will be used by both host and device 0011 /// compilation. 0012 /// 0013 //===----------------------------------------------------------------------===// 0014 0015 #ifndef LLVM_FRONTEND_OPENMP_OMPDEVICECONSTANTS_H 0016 #define LLVM_FRONTEND_OPENMP_OMPDEVICECONSTANTS_H 0017 0018 namespace llvm { 0019 namespace omp { 0020 0021 enum OMPTgtExecModeFlags : unsigned char { 0022 OMP_TGT_EXEC_MODE_GENERIC = 1 << 0, 0023 OMP_TGT_EXEC_MODE_SPMD = 1 << 1, 0024 OMP_TGT_EXEC_MODE_GENERIC_SPMD = 0025 OMP_TGT_EXEC_MODE_GENERIC | OMP_TGT_EXEC_MODE_SPMD 0026 }; 0027 0028 } // end namespace omp 0029 } // end namespace llvm 0030 0031 #endif // LLVM_FRONTEND_OPENMP_OMPDEVICECONSTANTS_H
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|