libocl: change prototype of vload/vstore to match ocl2.0 spec

Graphics / Beignet - Yang Rong [intel.com] - 8 November 2016 06:38 UTC

ocl2.0 spec only declare generic and constant address space vload, and only generic space vstore. private/global/local version are all removed.

a606edb libocl: change prototype of vload/vstore to match ocl2.0 spec.
backend/src/libocl/CMakeLists.txt | 56 ++++--
backend/src/libocl/include/ocl.h | 4 +
backend/src/libocl/include/ocl_vload_20.h | 150 +++++++++++++++
backend/src/libocl/src/ocl_vload_20.cl | 284 +++++++++++++++++++++++++++++
4 files changed, 482 insertions(+), 12 deletions(-)

Upstream: cgit.freedesktop.org


  • Share