You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Naghasan, I have problem with building libdevice library with my version of the SYCL compiler. "My version" includes improved "deferred diagnostics" patch from https://reviews.llvm.org/D70172, which seems to enable diagnostics #1026 for the TableGen-emitted declarations. There seems to be a bug in existing implementation.
Am I right that SPIR-V built-ins are emitted w/o sycl_device attribute? If so, the SYCL device compiler is supposed to emit an error for declaration w/o definition and not explicitly annotated with SYCL_EXTERNAL macro (aka sycl_device attribute). NOTE: original header replaced by TableGen file included required annotations.
Can we add sycl_device attribute to SPIR-V built-ins if -fsycl-is-device language option is set?
Any other ideas how to fix libdevice build?
Let me know if you want me to share the compiler with fixed deferred diagnostics.