]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - contrib/llvm/tools/clang/include/clang/Basic/OpenCL.h
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / contrib / llvm / tools / clang / include / clang / Basic / OpenCL.h
1 //===--- OpenCL.h - OpenCL enums --------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 ///
10 /// \file
11 /// \brief Defines some OpenCL-specific enums.
12 ///
13 //===----------------------------------------------------------------------===//
14
15 #ifndef LLVM_CLANG_BASIC_OPENCL_H
16 #define LLVM_CLANG_BASIC_OPENCL_H
17
18 namespace clang {
19
20 /// \brief Names for the OpenCL image access qualifiers (OpenCL 1.1 6.6).
21 enum OpenCLImageAccess {
22   CLIA_read_only = 1,
23   CLIA_write_only = 2,
24   CLIA_read_write = 3
25 };
26
27 }
28
29 #endif