opencl-image-access.cl 329 B

1234567891011121314
  1. // RUN: %clang_cc1 %s -fsyntax-only
  2. __kernel void f__ro(__read_only image2d_t a) { }
  3. __kernel void f__wo(__write_only image2d_t a) { }
  4. __kernel void f__rw(__read_write image2d_t a) { }
  5. __kernel void fro(read_only image2d_t a) { }
  6. __kernel void fwo(write_only image2d_t a) { }
  7. __kernel void frw(read_write image2d_t a) { }