-
Notifications
You must be signed in to change notification settings - Fork 769
Discrepancies with provisional SYCL2020 specs? #2971
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for issue and list of items noticed as missing. Work is in progress for SYCL2020. We should update our documentation to set clear expectations. I'll update docs and we'll keep this issue open until items mentioned here are done. |
@pvchupin Thanks for the heads up. Not sure if this issue is worth keeping open after the docs are updated. It's not a comprehensive list of all things missing. E.g., there's also A dedicated meta-issue for proper tracking of missing features might be a better idea? And it would also work as the live documentation about the current state of the SYCL2020 support. |
This issue will need some update anyway once the final specification is published but it is probably useful to keep it open to be sure we do not miss at least these points if they still exists in respect to the final spec. |
Right, it's clear that list mentioned here is not complete. We track many other items internally. I think it is a good idea indeed to produce a more detailed list on what's not supported yet for SYCL2020. I think as soon as final spec is published we can build one. |
* Add note that SYCL 2020 implementation is in progress (see issue intel#2971) * Add note that DPC++ runtime and headers require C++14 (see PR intel#2528) Signed-off-by: Pavel V Chupin <pavel.v.chupin@intel.com>
Updated references to the final SYCL 2020 specs:
|
Most of the issues listed here have been resolved, so I see no point in keeping this issue open anymore. |
Hello!
Given that the
-sycl-std=2020
switch is allowed andSYCL_LANGUAGE_VERSION
is set to 202001, one would expect that the provisional specs are supported.I wasn't able to find details about any limitations related to the support for the SYCL 2020 standard in the current version of the compiler. Please, point me to such a document if it exists.
However, the following program, seemingly compliant with the specs, fails to compile with the latest
sycl
branch (f58c568).Compilation options:
clang++ -fsycl -sycl-std=2020 ./sycl_2020.cpp -o sycl_2020
.References to specific parts of SYCL2020 provisional specs that are apparently missing:
SYCL/sycl.hpp
, but onlyCL/sycl.hpp
is available.-fsycl-unnamed-lambda
to work.sycl::sub_group
class, but onlysycl::ONEAPI::sub_group
is available.sycl::group_reduce
function, but onlysycl::ONEAPI::reduce
is available.sycl::plus
functor, but onlysycl::ONEAPI::plus
is available.The text was updated successfully, but these errors were encountered: