Displaying 2 results from an estimated 2 matches for "openclimageaccess".
2011 Feb 18
0
[LLVMdev] [PATCH] OpenCL support - update on keywords
...o that the 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 declar...
2011 Feb 18
6
[LLVMdev] [PATCH] OpenCL support - update on keywords
...> somewhere in LLVM so that the 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.
Simila...