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
Copy file name to clipboardExpand all lines: sycl/test/warnings/sycl_2020_deprecations.cpp
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -134,6 +134,9 @@ int main() {
134
134
sycl::byte B;
135
135
(void)B;
136
136
137
+
// expected-warning@+1{{'abs<float>' is deprecated: abs for floating point types is non-standard and has been deprecated. Please use fabs instead.}}
138
+
sycl::abs(0.0f);
139
+
137
140
// expected-warning@+1{{'image_support' is deprecated: deprecated in SYCL 2020, use device::has(aspect::ext_intel_legacy_image) to query for SYCL 1.2.1 image support}}
138
141
using IS = sycl::info::device::image_support;
139
142
// expected-warning@+1{{'max_constant_buffer_size' is deprecated: deprecated in SYCL 2020}}
0 commit comments