HomePhabricator

[SYCL] Implement cl::sycl::buffer::reinterpret

Authored by Fznamznon on Feb 15 2019, 6:17 AM.

Description

[SYCL] Implement cl::sycl::buffer::reinterpret

Main changes (required to implement this method):
Removed template parameters T and dimensions from buffer_impl class.
Added buffer range to accessor. Currently it done to save handler::copy
functionality but it also need to be used in multidimensional access.
Moved range from buffer_impl to buffer.
Used buffer_allocator as default allocator in buffer.

Signed-off-by: Mariya Podchishchaeva <mariya.podchishchaeva@intel.com>

Details

Committed
vladimirlaz <vladimir.lazarev@intel.com>Feb 21 2019, 4:03 AM
Parents
rG647118fdf3c6: [SYCL] Remove redundant call.
Branches
Unknown
Tags
Unknown

Event Timeline

vladimirlaz <vladimir.lazarev@intel.com> committed rG5124d7c12978: [SYCL] Implement cl::sycl::buffer::reinterpret (authored by Fznamznon).Feb 21 2019, 4:03 AM