summaryrefslogtreecommitdiffstats
path: root/include/clang/Basic/OpenCL.h
blob: 6f9785f2567783d349b7dec559126c31f5043a01 (plain)
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
//===--- 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.
//
//===----------------------------------------------------------------------===//
//
//  This file defines some OpenCL-specific enums.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_CLANG_BASIC_OPENCL_H
#define LLVM_CLANG_BASIC_OPENCL_H

namespace clang {

/// 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