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
The spec defines __SYCL_DEVICE_ONLY__ only for SMCP compilers. For single-pass compilers, like the hipSYCL generic SSCP compiler, this is not defined in accordance with the SYCL spec
Just throwing whenever __SYCL_DEVICE_ONLY__ is not defined will completely break on any library-only host backend, where the kernel is compiled as part of the host pass for CPU.
You should seriously start looking into adding CI and validation for other compilers. That would make such issues blatantly obvious.
__SYCL_DEVICE_ONLY__
only for SMCP compilers. For single-pass compilers, like the hipSYCL generic SSCP compiler, this is not defined in accordance with the SYCL spec__SYCL_DEVICE_ONLY__
is not defined will completely break on any library-only host backend, where the kernel is compiled as part of the host pass for CPU.You should seriously start looking into adding CI and validation for other compilers. That would make such issues blatantly obvious.
Originally posted by @illuhad in #41 (comment)
The text was updated successfully, but these errors were encountered: