search for: opencl_read_on

Displaying 2 results from an estimated 2 matches for "opencl_read_on".

Did you mean: opencl_read_only
2011 Feb 18
0
[LLVMdev] [PATCH] OpenCL support - update on keywords
...Perhaps a > > new header file called something like "llvm/Support/AddressSpaces.h"? > We went for llvm/Support/OpenCL.h for now, because might need to add > further OpenCL-specific support. Copying to llvmdev. > > > > +enum OpenCLImageAccess { > > > + OPENCL_READ_ONLY = 1, > > > + OPENCL_WRITE_ONLY = 2, > > > + OPENCL_READ_WRITE = 3 > > > +}; > > > > This should live in AST somewhere - once the image access attribute > is > > added to the AST we will need access to this declaration from all AST > > client...
2011 Feb 18
6
[LLVMdev] [PATCH] OpenCL support - update on keywords
...he backends have access to it. Perhaps a > new header file called something like "llvm/Support/AddressSpaces.h"? We went for llvm/Support/OpenCL.h for now, because might need to add further OpenCL-specific support. Copying to llvmdev. > > +enum OpenCLImageAccess { > > + OPENCL_READ_ONLY = 1, > > + OPENCL_WRITE_ONLY = 2, > > + OPENCL_READ_WRITE = 3 > > +}; > > This should live in AST somewhere - once the image access attribute > is added to the AST we will need access to this declaration from all > AST clients. Similarly, we created clang/AST/Open...