aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic/OpenCL.h
blob: 3b3f259252dfedcfe9c80cb5e212f282dc5ae3b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//===--- OpenCL.h - OpenCL enums --------------------------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
///
/// \file
/// \brief Defines some OpenCL-specific enums.
///
//===----------------------------------------------------------------------===//

#ifndef LLVM_CLANG_BASIC_OPENCL_H
#define LLVM_CLANG_BASIC_OPENCL_H

namespace clang {

/// \brief Names for the OpenCL image access qualifiers (OpenCL 1.1 6.6).
enum OpenCLImageAccess {
  CLIA_read_only = 1,
  CLIA_write_only = 2,
  CLIA_read_write = 3
};

}

#endif