[SYCL] Allow __spirv_ocl_printf vararg function#909
Conversation
Vararg functions are generally not allowed in SYCL. However, printf is a special case, because it can be mapped to a SPIR-V instruction, and SPIR-V translator recognizes __spirv_ocl_printf function. Signed-off-by: Andrew Savonichev <andrew.savonichev@intel.com>
Signed-off-by: Andrew Savonichev <andrew.savonichev@intel.com>
Signed-off-by: Andrew Savonichev <andrew.savonichev@intel.com>
Signed-off-by: Andrew Savonichev <andrew.savonichev@intel.com>
|
I don't seem to have the ability to review this patch anymore (no review button at the top), but LGTM. |
@tfzhu, any ideas what could be the reason for that? |
Nothing has changed besides the day :) The 'review' button just isn't on the interface today. |
Fznamznon
left a comment
There was a problem hiding this comment.
I don't have objections.
… (#92302) …05)" This reverts commit 61da636. Update #90905 was causing many tests to fail. See comments in #90905.
Vararg functions are generally not allowed in SYCL. However, printf is
a special case, because it can be mapped to a SPIR-V instruction, and
SPIR-V translator recognizes __spirv_ocl_printf function.
Signed-off-by: Andrew Savonichev andrew.savonichev@intel.com