[SYCL] Combine checks of buffer properties for buffer creation
There is mem_channel property for buffer that is not checked when buffer is allocating. This patch combines checks of needed properties for buffer allocation.
The spec can be found here: https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/supported/sycl_ext_intel_mem_channel_property.asciidoc
Signed-off-by: mdimakov [email protected]
@MrSidims could you please review?
I'm not so sure, that buffer_location property is allowed on buffers. If my understanding is correct, it only allowed on accessors and on malloc_ functions.
@romanovvlad @dm-vodopyanov could you please find a new owner for this PR?
tagging @sergey-semenov