Skip to content

Commit 554b79c

Browse files
author
psamolysov-intel
authored
[SYCL] Mark some aspects in sycl::aspects as deprecated to conform SYCL 2020 spec (#4776)
The 'int64_base_atomics' and 'int64_extended_atomics' are OpenCL 1.2 extensions. The extensions are available through core SYCL API: the atomic64 aspect (see Table 189 in the SYCL 2020 specification). A new value, 'host_debuggable`, is also defined in the 'sycl::aspect' enumeration.
1 parent 1a5f270 commit 554b79c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sycl/include/CL/sycl/aspects.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ enum class aspect {
2020
custom = 4,
2121
fp16 = 5,
2222
fp64 = 6,
23-
int64_base_atomics = 7,
24-
int64_extended_atomics = 8,
23+
int64_base_atomics __SYCL2020_DEPRECATED("use atomic64 instead") = 7,
24+
int64_extended_atomics __SYCL2020_DEPRECATED("use atomic64 instead") = 8,
2525
image = 9,
2626
online_compiler = 10,
2727
online_linker = 11,
@@ -47,6 +47,7 @@ enum class aspect {
4747
ext_intel_device_info_uuid = 29,
4848
ext_oneapi_srgb = 30,
4949
ext_oneapi_native_assert = 31,
50+
host_debuggable = 32,
5051
};
5152

5253
} // namespace sycl

0 commit comments

Comments
 (0)