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 // This file defines some OpenCL-specific enums. 11 // 12 //===----------------------------------------------------------------------===// 13 14 #ifndef LLVM_CLANG_BASIC_OPENCL_H 15 #define LLVM_CLANG_BASIC_OPENCL_H 16 17 namespace clang { 18 19 /// Names for the OpenCL image access qualifiers (OpenCL 1.1 6.6). 20 enum OpenCLImageAccess { 21 CLIA_read_only = 1, 22 CLIA_write_only = 2, 23 CLIA_read_write = 3 24 }; 25 26 } 27 28 #endif 29