-
Notifications
You must be signed in to change notification settings - Fork 787
info::device::atomic64 is deprecated #15740
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
info::device::atomic64 is deprecated #15740
Conversation
dklochkov-emb
commented
Oct 17, 2024
- A separate .def file was created for deprecated features that are not part of SYCL 2020 spec
- info::device::atomic64 was deprecated
- Test for info::device::atomic64 deprecated was added into separate file due to -Wno-deprecated-declarations flag in warnings.cpp tests file.
Just curious - did you try warnings.cpp actually? Not sure, but I think I tried it sometime ago and there was no need for a separate test. UPD. I've likely tried another test - test/warnings/sycl_2020_deprecations.cpp. You can try updating it instead of creating a separate one. |
That is not a SYCL 2020 deprecation, that deprecation does not depend on the language version, so I think that a separate test is better.
That's a good point! |
cb4b523
to
f4f00f4
Compare
[SYCL]: move extension related deprecation to the old file [SYCL]: fix check-sycl tests [SYCL]: fix file ending
f4f00f4
to
cddf3f9
Compare
I've realized the the call we perform happens within the library, so it doesn't affect public headers and can't be checked by |
@cperkinsintel, @intel/llvm-reviewers-runtime, could you please take a look? |
@@ -14,7 +14,7 @@ | |||
// RUN: %if linux %{ llvm-link -o=%t_app.bc %t.bc %t_compiler_wrappers.bc %t_sanitizer.bc %} %else %{ llvm-link -o=%t_app.bc %t.bc %t_compiler_wrappers.bc %} | |||
// >> ---- translate to SPIR-V | |||
// RUN: llvm-spirv -o %t.spv %t_app.bc | |||
// RUN: %clangxx -Wno-error=ignored-attributes -DSYCL_DISABLE_FALLBACK_ASSERT %cxx_std_optionc++17 %include_option %t.h %s -o %t.out %sycl_options -fno-sycl-dead-args-optimization -Xclang -verify-ignore-unexpected=note,warning | |||
// RUN: %clangxx -Wno-error=ignored-attributes -Wno-error=deprecated-declarations -DSYCL_DISABLE_FALLBACK_ASSERT %cxx_std_optionc++17 %include_option %t.h %s -o %t.out %sycl_options -fno-sycl-dead-args-optimization -Xclang -verify-ignore-unexpected=note,warning |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why don't we change %include_option
to -isystem
as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed