Displaying 2 results from an estimated 2 matches for "opencl_read_writ".
Did you mean:
opencl_read_write
2011 Feb 18
0
[LLVMdev] [PATCH] OpenCL support - update on keywords
...dressSpaces.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/OpenCL.h.
>
> > Also, please add...
2011 Feb 18
6
[LLVMdev] [PATCH] OpenCL support - update on keywords
...omething 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/OpenCL.h.
> Also, please add test cases which test that:
>
> 1) th...