[SYCL] Fix handling of mem_channel buffer property#9203
[SYCL] Fix handling of mem_channel buffer property#9203steffenlarsen merged 5 commits intointel:syclfrom
Conversation
This commit fixes the sycl::property::buffer::mem_channel handling when creating a buffer with the property. Additionally it fixes the associated device info query and aspect check. Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
| if (ParamName == PI_EXT_INTEL_DEVICE_INFO_MEM_CHANNEL_SUPPORT) { | ||
| ReturnHelper ReturnValue(ParamValueSize, ParamValue, ParamValueSizeRet); | ||
| return ReturnValue(pi_bool{false}); | ||
| } |
There was a problem hiding this comment.
@smaslov-intel - I did a similar work-around in #8954. Is there a better way of doing it?
There was a problem hiding this comment.
@steffenlarsen : Yes, let's not add new stuff here.
Please temporary add UR extension here:
And note @kbenzie to promote it into UR.
The the handling would naturally go into https://github.com/intel/llvm/blob/sycl/sycl/plugins/unified_runtime/ur/adapters/level_zero/ur_level_zero.cpp
There was a problem hiding this comment.
I was not aware of this list of constants until now. Do lines 23-57 encapsulate these UR_EXT_* symbols or are there additional ones?
There was a problem hiding this comment.
Found oneapi-src/unified-runtime#374 which seems to cover theses, added mention of this.
Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
intel#9203 Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
intel#9203 Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
intel#9203 Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
intel#9203 Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit fixes the sycl::property::buffer::mem_channel handling when creating a buffer with the property. Additionally it fixes the associated device info query and aspect check. --------- Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
This commit fixes the sycl::property::buffer::mem_channel handling when creating a buffer with the property. Additionally it fixes the associated device info query and aspect check.